How to set the 'Model name' in Model Reference via MATLAB command?

조회 수: 2 (최근 30일)
Keshav
Keshav 2023년 1월 10일
댓글: Keshav 2023년 1월 18일
Is there a MATLAB command for entering the Model name in the Model reference?
I have several such Model subsystems in my Simulink model and I'm looking for option to update the reference model via MATLAB command.

채택된 답변

Fangjun Jiang
Fangjun Jiang 2023년 1월 12일
get_param(Block,'ModelName')
get_param(Block,'ModelFile')

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Create Large-Scale Model Components에 대해 자세히 알아보기

제품


릴리스

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by