Motorola DSP Developer's Kit    

callMatlab

MATLAB engine library routines are incorporated into the supplied Suite56 DSP GUI Simulator to enable MATLAB functions and commands to be called from the simulator command window.

The syntax for the two ways of calling callMatlab is:

For example, issue the following two callMatlab commands in the GUI simulator command window.

There is now a variable named memx_0_10 in the workspace of the MATLAB engine session created by the MEX function. The variable contains the DSP X memory block of 11 bytes from $0000 through to $000a inclusive.

A plot of the DSP memory block also appears after executing the MATLAB plot command above.


 Tutorial of Advanced Features Data Snapshots