How to create a standalone application of a script that calls "sim" function ?
조회 수: 3 (최근 30일)
이전 댓글 표시
I have a script that calls teh "sim" function that executes a Simulink model, then there is a analyse of the results and some plots. I'd like to know how can I make this in a standalone executable that can be executed on a machine without Matlab installed.
댓글 수: 0
답변 (2개)
Marc Jakobi
2016년 10월 25일
편집: Marc Jakobi
2016년 10월 25일
To create a standalone from a Simulink model, you will need the Simulink Coder. I don't think you will be able to call Simulink via sim() in a standalone.
You cannot call a Simulink model that has been deployed using Simulink Coder by calling the sim() function from within another standalone deployed using deploytool. You will have to call the Simulink executable from the Matlab GUI using a MEX interface .
댓글 수: 0
Petru-Daniel Morosan
2016년 10월 25일
댓글 수: 1
Marc Jakobi
2016년 10월 25일
I updated my answer.
P. S. please use the comment option to reply to answers.
참고 항목
카테고리
Help Center 및 File Exchange에서 Verification, Validation, and Test에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!