How do I update my Simulink model from the MATLAB command line?
조회 수: 114 (최근 30일)
이전 댓글 표시
MathWorks Support Team
2009년 6월 27일
편집: MathWorks Support Team
2025년 2월 12일
I want to force an update (ctrl + D) on my Simulink model using a prompt from the command line.
I would also like to generally know more about the command line functionality of Simulink.
채택된 답변
MathWorks Support Team
2025년 2월 12일
편집: MathWorks Support Team
2025년 2월 12일
In the MATLAB command window, type the following:
set_param(gcs,'SimulationCommand','Update')
This is the same as forcing an update (Ctrl + D) from the Simulink window.
For more information on how to use the command line functionality of Simulink, see:
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Programmatic Model Editing에 대해 자세히 알아보기
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!