Any alternative to set_param() for Compiled Matlab code

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 日

1 投票

None of the Simulink commands are supported for deployment with MATLAB Compiler. See this previously answered question.

4 件のコメント

Stian
Stian 2012 年 6 月 29 日
Sorry for not beeing more clear. I should mention that I discovered that these commands are not supported by Compiler. That is way I am looking into other alternatives.
Stian
Kaustubha Govind
Kaustubha Govind 2012 年 6 月 29 日
Sorry, there are no alternatives at this point. However, please consider the Simulink Coder/Embedded Coder products for deploying Simulink models.
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

サインインしてコメントする。

カテゴリ

ヘルプ センター および File ExchangeApplication Deployment についてさらに検索

質問済み:

2012 年 6 月 18 日

コメント済み:

2022 年 9 月 7 日

Community Treasure Hunt

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

Start Hunting!

Translated by