M file starten in Simulink
2 ビュー (過去 30 日間)
古いコメントを表示
Hi,
I have an M file (also a function) which includes the "sim()" command. This M file is used to start the Simulink simulation.
Is it possible to run this M file in Simulink, that is, by clicking some button?
Generally an M file can be integrated into an S function block, but this M files contains the "sim()" command.
Thanks Senmeis
0 件のコメント
回答 (1 件)
Kaustubha Govind
2012 年 11 月 12 日
You can use a Simulink annotation with a Click function to create a hyperlink on the model canvas that will run a MATLAB command upon clicking.
0 件のコメント
参考
製品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!