How to find the command line parameters or API for the Simulink configuration/settings?
조회 수: 2 (최근 30일)
이전 댓글 표시
MathWorks Support Team
2019년 7월 10일
답변: MathWorks Support Team
2019년 7월 10일
How to find the command line parameters or API for the Simulink configuration/settings?
For example I want to change the "System target file" in the Configuration Parameters programmatically.
채택된 답변
MathWorks Support Team
2019년 7월 10일
In the Configuration Parameters you can easily find out, how to get the parameter to use with the set_param/get_param command to set/get the information.
Therefor click with the right mouse button onto the information you would like to get via code.
Then you should see "What's This?". After clicking on it, a small help window will appear containing the information under the "Command-Line Information" section.
In the example above you would see the following:
Command-Line Information
Parameter: SystemTargetFile*Type:* character vector*Value:* valid system target file*Default:* 'grt.tlc'
So using the following code line will help you to set this config:
>> set_param('SystemTargetFile','grt.tlc')
댓글 수: 0
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Manual Performance Optimization에 대해 자세히 알아보기
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!