Any alternative to set_param() for Compiled Matlab code

조회 수: 1 (최근 30일)
Stian
Stian 2012년 6월 18일
댓글: Amal Aljasmi 2022년 9월 7일
I am creating a programmatically GUI in Matlab. This is communicating with a Simulink model using set_param(). I have successfully compiled the Simulink model, and are able to run this from the GUI.
When I try to compile the GUI-code using Matlab Coder, the communication is no longer working as set_param(), and similar, are not supported by Matlab Coder.
Is there a alternative solution to using set_param() when deploying this code?
Thanks.
Br Stian
  댓글 수: 2
Kaustubha Govind
Kaustubha Govind 2012년 6월 18일
I'm assuming you meant to say MATLAB Compiler and not MATLAB Coder? MATLAB Coder does not supported code generation from GUI functions, but MATLAB Compiler does.
Stian
Stian 2012년 6월 29일
Hi.
Yeah, sorry, I meant MATLAB Compiler. There seems to be no obvious alternative to set_param() in this context.

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

답변 (1개)

Kaustubha Govind
Kaustubha Govind 2012년 6월 18일
None of the Simulink commands are supported for deployment with MATLAB Compiler. See this previously answered question.
  댓글 수: 4
Smile Smile
Smile Smile 2022년 6월 3일
Thank you for your answer. Is there any update to this question (2022)? Thank you!
Amal Aljasmi
Amal Aljasmi 2022년 9월 7일
Are there any alternatives to "get_param" ? It is not supported by MATLAB Compiler

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

카테고리

Help CenterFile Exchange에서 Application Deployment에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by