simulink 如何封装成可脱离Matlab环境的可执行文件
조회 수: 9 (최근 30일)
이전 댓글 표시
我的simulink模型中有一部分是dymola建立的模型,通过FMU导入的,一部分是利用M文件编写的s-function用于matlab和REDIS数据库交换数据,这样的simulink模型,能否生存脱离matlab运行的可执行文件?如何操作?需要什么toolbox?
댓글 수: 1
Walter Roberson
2016년 11월 28일
Approximate translation:
My simulink model is part of the model is dymola established, through the FMU import, part of the use of M-file s-function for the matlab and REDIS database exchange data, such simulink model, can survive from the matlab can run Execution file? How to operate? What toolbox do you need?
답변 (1개)
Yash
2025년 1월 19일
Refer to this post from MathWorks Support Staff on generating an executable from a Simulink Model: https://www.mathworks.com/matlabcentral/answers/100016-how-can-i-create-an-executable-from-my-simulink-model-to-send-to-someone-who-does-not-have-matlab
I have generated an executable for a Simulink Model with both Co-Simulation and Model Exchange FMUs using methods mentioned in the post and faced no issue.
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Naming Conventions에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!