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
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.
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?
I am using the Layout Toolbox. It is really great tool.
I encounter a problem when delpoying the developed GUI into a *.exe file using the MATLAB deploytool function. The developed GUI can be converted into *.exe file, but when starting *.exe file, it appears quickly and closed by windows immediately. I have tried the demoBrowser.m example, the same error appears. BTW, I'm using it on 32-bit Windows 7 OS.
Any idea on the reason for this?
I am using the Matlab Layout Toolbox too, nice tool, congrats :).
One thing i am interested in is, to cut my application down, if i created a figure with this toolbox and a uipanel and in the uipanel i want to create an axes so it should looks like this:
figure_handle = figure('Position',[(screensize(3)-1100)/2 (screensize(4)-600)/2-20 ...
1100 600],'NumberTitle','off','Name','Test1','ResizeFcn',@ResizeFcnCB, 'HandleVisibility','off','CloseRequestFcn',@CloseRequestFcnCB,'Renderer','OpenGL','PaperPositionMode','auto');
handle_uipanel = uipanel('Parent',figure_handle);
handle_axes = axes('Parent',handle_uipanel);
So then there is an axes, but without a box, i know the command box on and i tried to set it on with:
but then i only can see two lins on top and on the right of the axes. But i want to see a whole box, lines on the top, bottom, right and left.
If i create a figure and plot something into without using the Toolbox it works.
There have been some discussion on this forum recently about GUI Layout Toolbox and R2014b, as there will be significant changes to MATLAB graphics in that release.
* The current public release of GUI Layout Toolbox is not compatible with R2014b.
* We will release an R2014b-compatible version of GUI Layout Toolbox on MATLAB Central at the time of product general release.
* A beta version for R2014b is currently being tested. If you need access during the R2014b prerelease period then please contact Ben and me by email with a brief description of your requirement.
@jvc: I can't speak for Ben & David, but there is code in GLT taking the new HG2 graphics system into account (just not yet fixing the bugs with it), so I'm pretty sure they do intend to update. Of course some official news from Ben or David would be very welcome indeed!!!
I am joining the list of those who are asking whether this toolbox will be updated for compatibility with the new 2014b graphics system. I have made extensive use of the toolbox for my routine data processing tools - rebuilding these without GUI Layout would be a huge job.
Even if the answer is that the author does not plan to update toolbox it would be valuable to know this for planning purposes.