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

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 日

0 投票

You may be able to use a From Workspace block.

カテゴリ

ヘルプ センター および File ExchangeSimulink についてさらに検索

質問済み:

2016 年 10 月 31 日

回答済み:

2016 年 10 月 31 日

Community Treasure Hunt

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

Start Hunting!

Translated by