states - Display current state values

Syntax

states

Description

The states command displays a list of the current states of the model. The display lists the index, current value, system:block:element ID, state vector name, and block name for each state.

Example

The following command displays information about the states for the hardstop demo:

(sldebug @41): >> states

Continuous States:
Idx  Value             (system:block:element  Name   'BlockName')
  0  -0.5              (0:1:0  CSTATE  'hardstop/position')
  1  100               (0:9:0  CSTATE  'hardstop/velocity')
  


 © 1984-2008- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS