Error in GUIDE after upgrade to Matlab 2015a

1 view (last 30 days)
Hi,
I'm started to do a program with GUIDE in matlab EDU 2014a (Mac version), and aways send it to a friend with Matlab 2013a (Windows version) to test it. But now... after upgrade... when he tries to open the .fig in GUIDE, an error is occurring:
Error using struct2handle
Width and height must be > 0
Error in hgloadStructDbl (line 95)
h = struct2handle(hgS, parent, flags{:});
Error in C:Program Files\MATLAB\R2013A\toolbox\matlab\graphics\hgload.p>hgload (line 70)
Error in guidefunc>newGuideFig (line 2250)
[fig,old_vas] = haloed(filename, overrides);
Error in guidefunc>readSavedFigure (line 2657)
[fig, unsavedtemplate] = newGuideFig(layout_ed, filename);
Error in guidefunc (line 113)
varargout = readSavedFigure(varargin{:});
Error in guide (line 134)
result = LayoutEditor.openLayoutEditor(filename);
Ps. I sent it to another person with Matlab 2014a and he had the same error.
  1 Comment
Joseph Areeda
Joseph Areeda on 31 May 2015
Hi Tomaz, I know there were significant changes in the graphics system with 2014b that caused our software to require some significant changes.
There is a tool described there to identify and make some of the changes.
We did that and have a GUIDE based app that works fine with 2014b but doesn't start with 2015a. I'm searching for help on why that is so I don't know if that article will solve all your problems.
After some more reading, I'll probably ask my own question assuming I don't get lucky.
Joe

Sign in to comment.

Answers (0)

Categories

Find more on Migrate GUIDE Apps in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!