HI! I have some problems with Matlab plotgui. I have Matlab 7.6.0 (R2008a) in Windows XP. When I use the graphical interface for PLS-DA, I want to explore the numbers and table of my plot from the plot controls, but I have the following message:
PLOTGUI ERROR USING UMTOGGLE AT 9. UMTOGGLE FUNCTION IS OBSOLETE. SET THE CHECKED PROPERTY OF UIMENU INSTEAD.
Please can anyone help me with this?
Thanks in advance
Carolina D.A.

 채택된 답변

Walter Roberson
Walter Roberson 2013년 11월 12일

0 개 추천

Edit the source to
set(handle_of_uimenu, 'checked', 1 - get(handle_of_uimenu, 'checked'))
If that is not possible, then add your own umtoggle function earlier on the MATLAB path that does the above for you.

댓글 수: 4

Carolina
Carolina 2013년 11월 13일
Thanks Walter for your answer. I'VE TRIED TO DO THIS: handle = uimenu('checked','on') but I could not eliminate the problem. I've also tried with the functions set and get but no results. CAN YU GIVE ME any other possibility?
Thanks in advance! Carolina
Somewhere in the code is trying to call umtoggle to change the menu status. The code you show is for creating a new menu. The code I showed is for changing the status of a existing menu.
You will need to locate the place that is calling umtoggle, but that should be easy:
dbstop if error
and then run. When it stops, you might have to
dbup
once to get to the code that contains the call to umtoggle
Carolina
Carolina 2013년 11월 28일
Hi Walter: I did what you suggested me by running it from the commando window. but no changes. I also tried to remove the umtoggle function from the toolbox but nothing. I think the best would be locate the place that is calling umtoggle how can I start? Thanks
Carolina
Walter Roberson
Walter Roberson 2013년 11월 29일
The "dbstop if error" together with "dbup" can be used to locate the call to umtoggle.

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

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Debugging and Analysis에 대해 자세히 알아보기

질문:

2013년 11월 11일

댓글:

2013년 11월 29일

Community Treasure Hunt

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

Start Hunting!

Translated by