MatContM gui not launching
7 views (last 30 days)
Show older comments
I am using MatLab R2014b. Every time I try to launch the MatContM gui I receive the following error:
No appropriate method, property, or field ww for class matlab.ui.container.Panel.
Error in LayoutNode/distributePos_Horizontal (line 233) wwsum = sum(vertcat(children(:).ww));
Error in LayoutNode/distributePos (line 123) obj.distributePos_Horizontal(pos);
Error in LayoutNode/distributePos_Vertical (line 162) children(i).distributePos( [cLeft cBottom cWidth cHeight]);
Error in LayoutNode/distributePos (line 125) obj.distributePos_Vertical(pos);
Error in LayoutNode/makeLayoutHappen (line 118) obj.distributePos(panelpos);
Error in MainPanel (line 38) obj.mainnode.makeLayoutHappen( get(obj.panelhandle, 'Position'));
Error in gui (line 101) MainPanel( mwindowhandle , session );
Error in startgui (line 13) gui 'nodebug'
Any help would be greatly appreciated. Thank you.
1 Comment
Degang
on 3 May 2015
I have encountered the same problem. Right now I still have R2014a, and MatContM startgui can run on 2014a. I suspect the plot command overhaul introduced in 2014b breaks the code. If you have time, you may file a bug report on MatCont's SourceForge website.
Answers (1)
Image Analyst
on 3 May 2015
Why are you trying to do this:
sum(vertcat(children(:).ww))
As it says, for that graphical element, there is no property called ww. What GUI elements (lines, dots, checkboxes, scrollbars, text, etc.) are "children" a part of? Like you're trying to get the markers in a stem() plot or something like that? And why do you think those graphical elements should have a ww property?
2 Comments
Image Analyst
on 3 May 2015
Tim's Answer moved here since it's not an answer to the original question:
I'm not sure what GUI elements "children" are a part of, or why the program thinks anything should have a ww property. All I did was download the MatContM package, set a path in MatLab, and type "startgui" and I received the above error message.
Image Analyst
on 3 May 2015
Edited: Image Analyst
on 3 May 2015
I never heard of it. Is it sold by the Mathworks? If so, call them and ask them. Otherwise, ask the software publisher/author why their code won't run.
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!