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!