Info

이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

How can I get "shown" parameter or similar parameter for Simulink blocks?

조회 수: 2 (최근 30일)
Burak Bayram
Burak Bayram 2018년 11월 26일
마감: MATLAB Answer Bot 2021년 8월 20일
Hello everyone,
There is a parameter for systems; "shown". when you type ;
get_param(gcs, 'shown') %or
get_param('vdp', 'shown')
it will give you the status of model is whether already opened or not.
Now I want to apply same thing for blocks, but appearently blocks do not have a parameter named 'shown'.
So is there any parameter that has similar information about blocks status, or masks, isn't it saved that block is already opened or currently closed, not shown??
  댓글 수: 1
Burak Bayram
Burak Bayram 2018년 11월 26일
Allright, partially I have found my answer, for blocks there is this;
get_param(gcbh, 'open');
but for masks(Mask Dialogs) I still couldn't find, I will edit if I find it before someone else.

답변 (0개)

이 질문은 마감되었습니다.

제품


릴리스

R2015b

Community Treasure Hunt

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

Start Hunting!

Translated by