different ways of storing data in block

조회 수: 2 (최근 30일)
Ajay krishna Vasanthakumar
Ajay krishna Vasanthakumar 2020년 6월 26일
답변: Walter Roberson 2020년 6월 26일
Hello all,
is there anyother way to store data in the block other than userdata ?
do we have any possiblity to create custom parameters in simulink block ?
like set_param(gcb,'foo','foo');
Thanks,
V. Ajay Krishna

답변 (1개)

Walter Roberson
Walter Roberson 2020년 6월 26일
Set the block RTWdata field. I have tested that it is saved and restored in a normal model.
Unless, that is, you are using Level-2 S Blocks, in which case you would do something different.

카테고리

Help CenterFile Exchange에서 Subsystems에 대해 자세히 알아보기

태그

제품


릴리스

R2016b

Community Treasure Hunt

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

Start Hunting!

Translated by