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 ビュー (過去 30 日間)
古いコメントを表示
Samah EL QASSAH
2016 年 11 月 29 日
コメント済み: Samah EL QASSAH
2016 年 11 月 29 日
Hi!
I want to know how can I change the configuration parameters by command line?
Is there any command that could do that?
採用された回答
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 Center および File Exchange で Prepare Model Inputs and Outputs についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!