How to find the command line parameters or API for the Simulink configuration/settings?

2 Ansichten (letzte 30 Tage)
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.

Akzeptierte Antwort

MathWorks Support Team
MathWorks Support Team am 10 Jul. 2019
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')

Weitere Antworten (0)

Kategorien

Mehr zu Manual Performance Optimization finden Sie in Help Center und File Exchange

Produkte

Community Treasure Hunt

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

Start Hunting!

Translated by