Azzera filtri
Azzera filtri

How can I change the configuration parameters by command line?

2 visualizzazioni (ultimi 30 giorni)
Hi!
I want to know how can I change the configuration parameters by command line?
Is there any command that could do that?
  1 Commento
Samah EL QASSAH
Samah EL QASSAH il 29 Nov 2016
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?

Accedi per commentare.

Risposta accettata

Fangjun Jiang
Fangjun Jiang il 29 Nov 2016
Modificato: Fangjun Jiang il 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');

Più risposte (0)

Categorie

Scopri di più su Event Functions in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by