How can I set "Classical call interface" parameter using set_param?

3 次查看(过去 30 天)
Here I use code generation scripts to automate the code generation, build and deployment pipeline. In one of the scripts I change my target programmatically using switchTarget , then Classical call interface goes off as default. How can I set it back to on using set_param?

采纳的回答

Eshwar
Eshwar 2015-1-23
You can try using
set_param(modelname,'GRTInterface','on')
There are some dependencies to be aware of for using the Classic Code Interface options (for example: C++ class code interface packaging sets this param off) which you can look up from the doc.

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Simulink Coder 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by