필터 지우기
필터 지우기

How can I save the text in the model workspace variable description?

조회 수: 18 (최근 30일)
Adriel
Adriel 2024년 8월 1일 18:15
댓글: Adriel 2024년 8월 2일 14:55
I want to save in as a string variable the text in the description of the simulink parameter that is in the simulink model workspace (image)

채택된 답변

Fangjun Jiang
Fangjun Jiang 2024년 8월 1일 19:11
mw=get_param(bdroot,'ModelWorkspace');
a=mw.getVariable('Param');
>> s=get(a,'Description')
s =
'abc'

추가 답변 (0개)

카테고리

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

제품


릴리스

R2024a

Community Treasure Hunt

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

Start Hunting!

Translated by