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!