How I can run simulink step by step

I am working on co-simulation. Could you tell me how to run the simulink step by step? When I used the command 'SIM', the results of last step is always missed.
Thanks in advance.

回答 (2 件)

Shrirang
Shrirang 2014 年 10 月 21 日

0 投票

1) Hi you can use simulink debugger for this using this u can stop the simulation every step. You can use the option "Go to first method at start of next time step" (4th option)
U can see the value of any block at each step

1 件のコメント

Kai
Kai 2014 年 10 月 21 日
How can control it using matlab engine?

サインインしてコメントする。

Kai
Kai 2014 年 10 月 21 日

0 投票

How can control it using matlab engine?

タグ

質問済み:

Kai
2014 年 10 月 21 日

コメント済み:

Kai
2014 年 10 月 21 日

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by