Rank: 303834 based on 0 downloads (last 30 days) and 0 file submitted
photo

Marian Hertrich

E-mail

Personal Profile:

 

Watch this Author's files

 

Comments and Ratings by Marian Hertrich View all
Updated File Comments Rating
16 Mar 2011 GUI Layout Toolbox Layout management objects for MATLAB GUIs Author: Ben Tordoff

Hi Ben,

thanks for your reply. Meanwhile we fixed the problem by putting the parent-handle in brackets
gui.box2=uiextras.VBox('Parent', gui.box1); % here it works without problem
gui.edit1=uicontrol(...
'Style', 'Edit',
'Parent', gui.('box2'));

Anyway this problem occured only in a few of our GUI's, for others the conventional call went without errors. Maybe our workaround helps to locate and fix the problem.

16 Jan 2011 GUI Layout Toolbox Layout management objects for MATLAB GUIs Author: Ben Tordoff

Hi Ben, thanks for this excellent tool. We have developed a relatively large project using the Gui Layout Tool v1p8.
I just tested it on 2010b and get the error explained by William Weideman on Sept, 15th: Conversion to double from unknown is not possible.
In Container.m there is a function that should actually cast the handle in the structure (function container = double( obj )) but I still get the same error. Applying your workaround would require a lot of work. Is there a better solution in sight?

Contact us