Assigning Simulink parameters values to the Model Workspace using command line or scripting

조회 수: 17 (최근 30일)
Hi All,
my aim is to be able to add a variable to the Model Workspace from Command Window and/or from a script.
How can I do that?
Thanks in advance
G

채택된 답변

Azzi Abdelmalek
Azzi Abdelmalek 2014년 4월 9일
편집: Azzi Abdelmalek 2014년 4월 9일
If you mean how to change your block parameter, you can use set_param
doc set_param

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Programmatic Model Editing에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by