How can input data be loaded automatically from Matlab workspace into simulink?

1 回表示 (過去 30 日間)
Michael Berner
Michael Berner 2016 年 10 月 31 日
回答済み: Walter Roberson 2016 年 10 月 31 日
I have got one m-file from which I run several input files and start a simulation in simulink. The data is saved in a mat-file and initialized manually in simulink. Until now, when I change a paramater in matlab I need to reload the data in simulink, which is very annoying. How can this be done automatically?
Thanks in advance, Michael

回答 (1 件)

Walter Roberson
Walter Roberson 2016 年 10 月 31 日
You may be able to use a From Workspace block.

カテゴリ

Help Center および File ExchangeProgrammatic Model Editing についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by