How can I change the configuration parameters by command line?

2 次查看(过去 30 天)
Hi!
I want to know how can I change the configuration parameters by command line?
Is there any command that could do that?
  1 个评论
Samah EL QASSAH
Samah EL QASSAH 2016-11-29
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?

请先登录,再进行评论。

采纳的回答

Fangjun Jiang
Fangjun Jiang 2016-11-29
编辑:Fangjun Jiang 2016-11-29
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');

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Event Functions 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by