Real time Workshop / Embedded coder: Command Line Functions to download Tunable Parameters

I can successfully download BATCH download Tunable Parameters (only batch btw). I want to do the (batch) download from a home-made GUI instead of using the 'External Mode Control Panel'.
1. What command to use? 2. Anybody knows of a list of all such commands?
Any input is highly appreciated! //bjoern

 采纳的回答

[EDITED]
I am not sure but you can try this.
After changing the parameter in workspace you can give model update command to make changes effective. To update the model simply press Ctrl+D or use
set_param('YourModel','SimulationCommand','update')
It will update the parameter values in the model and download the parameters to your application. Before that Make sure that "Batch Download" option is ON. You can do it by
set_param('YourModel','ExtModeBatchMode','on');
Please let me know if it works.

3 个评论

Thanks TAB!
There's a long list but surprisingly enough I cannot find the Command Line Parameter which PERFORMS the batch download. After I change a value in the local WS, I want it to take affect on the remote target without having to open the 'External Mode Control Panel'.

请先登录,再进行评论。

更多回答(0 个)

类别

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

Community Treasure Hunt

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

Start Hunting!

Translated by