필터 지우기
필터 지우기

Info

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

Is there a programatic check if a figure is being loaded by Guide?

조회 수: 2 (최근 30일)
Andrew
Andrew 2014년 9월 25일
마감: MATLAB Answer Bot 2021년 8월 20일
Hi all,
I'm playing around with a GUI where the figure's CreateFcn creates uitabs. Guide "breaks" (2014A) when I try to save the figure because of the uitabs; so I want the CreateFcn to do a "loaded by Guide test". Something like:
if (guide)
% do nothing
else
% create tabs
end
as an alternative to manual modification each time I want to load it with Guide
Cheers,
Andrew

답변 (1개)

Adam
Adam 2014년 9월 25일
편집: Adam 2014년 9월 25일
I don't think there is such a function. The best I could suggest is to comment out the functionality while you are playing around in guide or move it to be triggered by a pushbutton rather than the CreateFcn until you have settled your GUI in Guide and then move it back to the CreateFcn afterwards.
You may want to try
instead of uitab which is unsupported functionality. I don't know how the tabs are programmed in that toolbox, but I assume they don't break GUIDE.

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

태그

Community Treasure Hunt

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

Start Hunting!

Translated by