For more details, I want to change the Solver options Type from "Variable-step" to "Fixed-step" by command line. Is there a command that could do that?
How can I change the configuration parameters by command line?
4 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Samah EL QASSAH
am 29 Nov. 2016
Kommentiert: Samah EL QASSAH
am 29 Nov. 2016
Hi!
I want to know how can I change the configuration parameters by command line?
Is there any command that could do that?
Akzeptierte Antwort
Fangjun Jiang
am 29 Nov. 2016
Bearbeitet: Fangjun Jiang
am 29 Nov. 2016
On the configuration parameter dialog window, hover over "Type" under "Solver options", right click, select "What's this?", it will bring up the help window, look for "Command-Line Information".
What you need to do is this:
get_param('ModelName','SolverType');
set_param('ModelName','SolverType','Fixed-step');
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Prepare Model Inputs and Outputs finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!