필터 지우기
필터 지우기

How can I change the configuration parameters by command line?

조회 수: 2 (최근 30일)
Samah EL QASSAH
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?
  댓글 수: 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