Help simulink

7 ビュー (過去 30 日間)
Nuno
Nuno 2011 年 3 月 29 日
I have this block: http://img228.imageshack.us/img228/3016/doubt.png
I send the values to workspace to create a graph. But to create this graph, i using a m-file, but I've got to be running it. Any way to make this run automatically when you run the simulink?

採用された回答

Paulo Silva
Paulo Silva 2011 年 3 月 29 日
File->Model Properties->Callbacks->StopFcn
Put the name of the m file in the StopFcn, that way your code will run right after the simulation is done.
  1 件のコメント
Nuno
Nuno 2011 年 3 月 29 日
Thanks :)

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

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeSimulink についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by