thanks for this software again. Two things:
1. The last update doesn't have the example again.
2. Is it possible to position jcontrol objects to axes instead of to the window? I have an application that has three axes, the bottom one with many jcontrol objects. When a user resizes this axis or the one immediately on top, the jcontrol objects are not repositioned correctly. I think I should mention that the axes are inside a uiextras.GridFlex layout manager. I appreciate your input (or the input of any other reader).
Thank you very much for this useful and well documented Toolbox.
I'm running into a problem and I was hoping someone with more experience in this could help me:
My application uses a FlexGrid with three axes, and one of the axes (the one in the bottom) comprises several jcontrol objects. Everything works fine, and looks good, excepting when a user resize the axis containing the jcontrol objects or the axis immediately on top. The jcontrol are not repositioned where they should be. How can I call a function when the axis is being resized?
I have issues with audioplayer and jcontrol, and I was hoping someone could give me some insight.
I created a search object that pops up in a different window when the user uses a combination of keys (i.e., ctrl+f) in the main window. The main application instantiate one audioplayer, and several text labels, and the search object look into the labels for a give text.
if I run 'clear classes' after I've opened the main file and closed it without calling the search object, it doesn't report anything.
but if I open the main file, invoke the search object and close the application (even having done no operations in the search object), the 'clear classes' command reports that:
Warning: Objects of 'onCleanup' class exist. Cannot clear this
class or any of its super-classes.
Warning: The following classes still have existing instances
that cannot be cleared:
audioplayer (3 instances)
Have you read "readme.txt" file in "patch" folder, where p-file you've mentioned is located?
It mostly explains why they are there.
It looks like these files are fixed versions of core matlab functions, so developers won't release source code for them. Just hope that those issues would be removed some time.
It's easy to use, however, I've been facing same problem while trying to compile this GUI into standalone application.
When attempting to compile some of your code, warnings are given relative to the P-files missing their associated M-Files.
Here is one example :
Warning: Requirements cannot analyze P-code unless the user provides a corresponding M-code along with the P-code in the
same folder. The dependencies of D:\Codes\MATLAB\GUILayout-v1p14\Patch\getpixelposition.p may not be included in the
completion because its corresponding M-code cannot be found by REQUIREMENTS.
I was wondering if there's any workaround, or if you can release the m-code. Since the main reason to write a gui is to distribute it through standalone projects. Thanks for helping in advance.
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.
Great way to plot graphs in different tabs. Highly recommended.
Note: There is a small bug with graphs from different tabs being plotted on top of each other. This can be fixed using uipanel for each graph (instead of uicontainer). See comments below from @eff and @Brett 22nd Aug 2013.