How to find the command line parameters or API for the Simulink configuration/settings?
2 次查看(过去 30 天)
显示 更早的评论
MathWorks Support Team
2019-7-10
回答: MathWorks Support Team
2019-7-10
How to find the command line parameters or API for the Simulink configuration/settings?
For example I want to change the "System target file" in the Configuration Parameters programmatically.
采纳的回答
MathWorks Support Team
2019-7-10
In the Configuration Parameters you can easily find out, how to get the parameter to use with the set_param/get_param command to set/get the information.
Therefor click with the right mouse button onto the information you would like to get via code.
Then you should see "What's This?". After clicking on it, a small help window will appear containing the information under the "Command-Line Information" section.
In the example above you would see the following:
Command-Line Information
Parameter: SystemTargetFile*Type:* character vector*Value:* valid system target file*Default:* 'grt.tlc'
So using the following code line will help you to set this config:
>> set_param('SystemTargetFile','grt.tlc')
0 个评论
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Manual Performance Optimization 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!