This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English verison of the page.

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.


Current state values




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.

  1. In the MATLAB Command Window, enter:

    sldebug 'vdp'

    The MATLAB command prompt >> changes to the Simulink® debugger prompt (sldebug @0): >>.

  2. Enter:


    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')

Introduced before R2006a

Was this topic helpful?