Using Simulink | ![]() ![]() |
システムの状態の表示
states
デバッグコマンドは、MATLAB コマンドウィンドウにシステムの状態のカレント値をリスト表示します。たとえば、つぎのコマンドは、Simulinkの跳ねるボールのデモ(bounce
)の1番目と2番目の時間ステップでの実行に関する状態を表示したものです。
sldebug bounce [Tm=0 ] **Start** of system 'bounce' outputs (sldebug @0:0 'bounce/Position'): states Continuous state vector (value,index,name): 10 0 (0:0 'bounce/Position') 15 1 (0:5 'bounce/Velocity') (sldebug @0:0 'bounce/Position'): next [Tm=0.01 ] **Start** of system 'bounce' outputs (sldebug @0:0 'bounce/Position'): states Continuous state vector (value,index,name): 10.1495095 0 (0:0 'bounce/Position') 14.9019 1 (0:5 'bounce/Velocity')
![]() | 代数ループの情報の表示 | 積分情報の表示 | ![]() |