필터 지우기
필터 지우기

Why figure toolbar doesn't work in GUI

조회 수: 1 (최근 30일)
Tomislav
Tomislav 2012년 11월 8일
댓글: Matthew Hockley 2018년 12월 15일
I have created figure toolbar in GUIDE with toolbar editor, and put some usual stuff, zoom in, out, pan, data cursor and print.
And nothing of those seems to work. Why? And when I run GUI it let me turn on more functions at once?!
Thanks.
  댓글 수: 6
Sean de Wolski
Sean de Wolski 2012년 11월 8일
Huh?
I would put it in the myGUI_outputfcn but once again I'd be more curious to find the root cause of it not working in the first place...
Tomislav
Tomislav 2012년 11월 8일
Its a lot of code - 866 lines. It is hard to figure out in some dicent time. And I need quick answer. Sry.
Nothing seems to work.
Only when i type: set(gcf,'toolbar','figure');
but then I get, besides what I wanted, an empty figure with toolbar...
Thanks.

댓글을 달려면 로그인하십시오.

채택된 답변

Azzi Abdelmalek
Azzi Abdelmalek 2012년 11월 8일
편집: Azzi Abdelmalek 2012년 11월 8일
put this code in your openingFCN function
set(gcf,'toolbar','figure');
  댓글 수: 4
shannon stoffel
shannon stoffel 2015년 9월 1일
편집: shannon stoffel 2015년 9월 1일
Could you clarify what you did? I am having the exact same problem. I have less than 300 lines of code though.
Matthew Hockley
Matthew Hockley 2018년 12월 15일
Worked perfectly for me, thanks!

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Graphics Object Properties에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by