Using Simulink     Search    Help Desk 

Accessing the MATLAB Workspace

You can type any MATLAB expression at the sldebug prompt. For example, suppose you are at a breakpoint and you are logging time and output of your model as tout and yout. Then, the following command

creates a plot. Suppose you would like to access a variable whose name is the same as the complete or incomplete name of an sldebug command, for example, s, which is a partial completion for the step command. Typing an s at the sldebug prompt steps the model However,

displays the value of the variable s.



[ Previous | Help Desk | Next ]