exchange data between script and model
古いコメントを表示
I am trying to send data from script to model and get the output data of the simulink model on the script to apply some calculations on them. I tried to use sim command, but it takes long time to run and cause out of memory to my script.
Is there any suggestions on other method that I can use?
5 件のコメント
Pawel Ladosz
2016 年 9 月 29 日
Does your sim run in some sort of loop? (i.e. multiple times within single script)
Khaled Abojlala
2016 年 9 月 29 日
Pawel Ladosz
2016 年 9 月 29 日
編集済み: Pawel Ladosz
2016 年 9 月 29 日
1. I assume sim runs much slower than it would if you just run simulink model on its own?
2. How big data you trying to save?
Khaled Abojlala
2016 年 9 月 29 日
Walter Roberson
2016 年 9 月 29 日
You can set_param() and then sim()
採用された回答
その他の回答 (0 件)
カテゴリ
ヘルプ センター および File Exchange で Scopes and Data Logging についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!