필터 지우기
필터 지우기

Standalone Application runs Simulink Model

조회 수: 4 (최근 30일)
mickael hamelin
mickael hamelin 2017년 4월 19일
댓글: Tobias Köhler 2018년 6월 5일
Hello guys,
I'm building a GUI which runs a Simulink Model.It works perfectly, until i try to compile it in a standalone application.
I put the gui .m file as main application in the deploy tool, and the simulink model (.slx) in files required. Everything is ok in the compilation, and the GUI works well. But when i want to run my simulation, nothing happens...
How can i do that?
Thanks for your help
HM

답변 (1개)

Co Melissant
Co Melissant 2017년 4월 20일
편집: Co Melissant 2017년 4월 20일
In general the API functions of Simulink do not work with the MATLAB Compiler, see: https://nl.mathworks.com/help/compiler/unsupported-functions.html
Possible approaches are generating an executable or dll from the model and interact with that.
We have used several approaches over time to interact with a model from a stand-alone GUI.
Co
  댓글 수: 4
mickael hamelin
mickael hamelin 2017년 4월 20일
I don't really understand what you meanabout rsim target... Can you be more specific?
Tobias Köhler
Tobias Köhler 2018년 6월 5일
The rsim target doesn`t work too. Is it also unsupported for MatLab Compiler?

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 MATLAB Compiler에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by