Any alternative to set_param() for Compiled Matlab code

2 Ansichten (letzte 30 Tage)
Stian
Stian am 18 Jun. 2012
Kommentiert: Amal Aljasmi am 7 Sep. 2022
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 Kommentare
Kaustubha Govind
Kaustubha Govind am 18 Jun. 2012
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 am 29 Jun. 2012
Hi.
Yeah, sorry, I meant MATLAB Compiler. There seems to be no obvious alternative to set_param() in this context.

Melden Sie sich an, um zu kommentieren.

Antworten (1)

Kaustubha Govind
Kaustubha Govind am 18 Jun. 2012
None of the Simulink commands are supported for deployment with MATLAB Compiler. See this previously answered question.
  4 Kommentare
Smile Smile
Smile Smile am 3 Jun. 2022
Thank you for your answer. Is there any update to this question (2022)? Thank you!
Amal Aljasmi
Amal Aljasmi am 7 Sep. 2022
Are there any alternatives to "get_param" ? It is not supported by MATLAB Compiler

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu Simulink Functions finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by