I observed the same bug (or similar) as David - 04/11/13 to do with not updating the % correctly.
A couple of additions would be nice:
1) Option to return the figure handle - useful in some circumstances (e.g. to force the window to the front / edit some properties.
2) To be able to embed the multiWaitbar inside a different parent object (e.g. user defined figure / panel).
With reference to my "bug" mentioned earlier regarding application deployment. The solution is to simply manually add the resource files to the list of required files during compilation.
With regards to the warnings generated by the dependency walker - I have not yet found any effects from this, and sp it can probably be ignored (i.e. I have not observed it to require any functions not found by the dependency checker).
There is a small "bug" that makes this package incompatible with the Matlab "Application compiler" app for redistributing compiled stand alone applications.
A work around is the following:
The problem lies with the image locations being hard-linked to the location of the package from the use of "fileparts". I replaced these lines with a test for "isdeployed", for example lines 424/5 of uiextras.TabPanel (iLoadIcon function) to:
this_dir = fileparts( mfilename( 'fullpath' ) );
icon_dir = fullfile( this_dir, 'Resources' );
this_dir = '.';
icon_dir = '.';
I then simply include the resource files in the list of additional files in the app.
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.
Thank you for your Toolbox!
I would like to compile my application with the compiler (R2013b) but there is a problem with .p files. Is it possible to send us the equivalent files with the .m extention? The 2 files are in the "Patch" directory. Thanks!