| Contents | Index |
states
states displays a list of the current states of the model. The list includes the index, current value, system:block:element ID, state vector name, and block name for each state.
Display information about the states for the vdp model.
In the MATLAB Command Window, enter:
sldebug 'vdp'
The MATLAB command prompt >> changes to the Simulink debugger prompt (sldebug @0): >>.
Enter:
states
The MATLAB Command Window displays:
Continuous States: Idx Value (system:block:element Name 'BlockName') 0 0 (0:0:0 CSTATE 'vdp/x1') 1 0 (0:2:0 CSTATE 'vdp/x2')

Learn more about Simulink through this collection of videos, articles, technical literature and the Getting Started with Simulink Guide.
| © 1984-2012- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |