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

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?

 采纳的回答

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 个)

类别

帮助中心File Exchange 中查找有关 Event Functions 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by