How to set the Diagnostics: Automatic Solver Parameter Selection to none using Matlab work space.
조회 수: 3 (최근 30일)
이전 댓글 표시
Hi Support Team,
Can you please explain how I can set 'Diagnostic: Automatic Solver Parameter Selection to none in m file.
I have tried set_param('Coffee_Maker_05','Solver','ode15s','SaveOutput','off','SaveTime','off', 'Automatic Solver Parameter Selection','none') but its giving following error: * %set_param('Coffee_Maker_05','Solver','ode15s','SaveOutput','off','SaveTime','off') set_param('Coffee_Maker_05','Solver','ode15s','SaveOutput','off','SaveTime','off', 'Automatic Solver Parameter Selection','none') Warning: Using a default value of 3.6 for maximum step size. The simulation step size will be equal to or less than this value. You can disable this diagnostic by setting 'Automatic solver parameter selection' diagnostic to 'none' in the Diagnostics page of the configuration parameters dialog block_diagram does not have a parameter named 'Automatic Solver Parameter Selection' **
댓글 수: 0
채택된 답변
Sebastian Castro
2015년 7월 2일
I believe this is the command:
set_param(sysName,'SolverPrmCheckMsg','none');
In general, you can right-click the option name in the Configuration Parameters dialog and select "What's this?" In the dialog that opens up, you'll see a table with the command-line parameter name and its allowable options.
- Sebastian
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Configure and View Diagnostics에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!