Rank: 17 based on 1352 downloads (last 30 days) and 43 files submitted
photo

Yair Altman

E-mail
Company/University
Consultant

Personal Profile:

Website: http://UndocumentedMatlab.com
LinkedIn: http://www.linkedin.com/in/yairaltman
 
Author of "Undocumented Secrets of Matlab-Java Programming" book:
http://UndocumentedMatlab.com/matlab-java-book/
 
Contact me: altmany at gmail dot com

Professional Interests:

 

Watch this Author's files

 

Files Posted by Yair View all
Updated   File Tags Downloads
(last 30 days)
Comments Rating
16 May 2013 Screenshot UISplitPane - Split a container (figure/frame/uipanel) into two resizable sub-containers Split a container (figure/frame/uipanel) into two resizable sub-containers, like Java's JSplitPane Author: Yair Altman java, gui tools, gui, split, pane, potw 30 15
  • 4.75
4.8 | 8 ratings
16 May 2013 Screenshot FindJObj - find java handles of Matlab graphic objects Find java objects contained within a specified java container or Matlab GUI handle Author: Yair Altman example, undocumented, findobj, findall, gui tools, handle 264 77
  • 4.92105
4.9 | 43 ratings
23 Apr 2013 Screenshot propertiesGUI - display properties in an editable context-aware table propertiesGUI processes and displays a list of data properties in a context-aware GUI table Author: Yair Altman gui, java, jide, undocumented 60 6
  • 5.0
5.0 | 3 ratings
19 Apr 2013 Screenshot ScreenCapture - get a screen-capture of a figure frame or component ScreenCapture gets a screen-capture of any Matlab GUI handle, or specified screen area rectangle Author: Yair Altman java, gui 100 10
  • 5.0
5.0 | 11 ratings
20 Mar 2013 Screenshot JTattoo look-and-feel demo GUI JTattooDemo demonstrates effects of Look-and-Feel changes (including JTattoo L&F) on GUI controls Author: Yair Altman gui, java 37 2
Comments and Ratings by Yair View all
Updated File Comments Rating
21 Apr 2013 Fast serialize/deserialize These functions can serialize most MATLAB data structures into a byte vector and vice versa. Author: Christian Kothe

This is an extremely important utility. Too bad it's not part of the standard Matlab language.

It is enormously useful for data persistence (saving) performance, especially for class objects that would otherwise require the slow save('-v7') or the even slower save('-v7.3') - using this utility, we can easily save using the much faster save('-v6'). On my system, the run-time and file-size of saving non-numeric data were reduced by 1-3 orders of magnitude! The interesting part is that the performance and file-size improvements were across-the-board, using any supported option for saving the data (save -v6/-v7/-v7.3 or the savefast utility on FEX).

This utility could be improved for saving Java objects, by checking (using a simple try-catch) whether the object implements a writeObject() method into a ByteArrayOutputStream. See http://docs.oracle.com/javase/6/docs/api/java/io/Serializable.html for more details.

01 Apr 2013 JTattoo look-and-feel demo GUI JTattooDemo demonstrates effects of Look-and-Feel changes (including JTattoo L&F) on GUI controls Author: Yair Altman

Some LnFs do not behave nicely on some Matlab releases and/or platforms. You can use JTattooDemo do see which of the LnFs work well on your specific configuration.

More information:
* http://undocumentedmatlab.com/blog/jtattoo-look-and-feel-demo/
* http://undocumentedmatlab.com/blog/modifying-matlab-look-and-feel/

13 Mar 2013 cprintf - display formatted colored text in the Command Window Displays sprintf-formatted strings in the Command Window using the specified color/underline style Author: Yair Altman

Sébastien - you are using cprintf incorrectly. Firstly, the extra parameter 4 has no meaning since you are not using any printf fields (e.g. %d) in your string.

Secondly, you don't need (and actually should not use) \r - \r clears the current line to the beginning on some systems, which could explain what you are seeing.

26 Feb 2013 FindJObj - find java handles of Matlab graphic objects Find java objects contained within a specified java container or Matlab GUI handle Author: Yair Altman

@Katana13 - Java customizations are not saved in FIG files. See here for a discussion and workaround: http://undocumentedmatlab.com/blog/figure-toolbar-components/#comment-13897

19 Feb 2013 FindJObj - find java handles of Matlab graphic objects Find java objects contained within a specified java container or Matlab GUI handle Author: Yair Altman

@Georgios - the control must be visible for findjobj to work. You can make the figure visible in the OpenFcn using the commands
set(hObject,'Visible','on'); drawnow;

If you don't want the figure to physically appear onscreen, you can set its position to [-300,-300,200,200] or some other off-screen location. The figure will become visible but hidden... You can later move it to your screen center in the OutputFcn.

Comments and Ratings on Yair's Files View all
Updated File Comment by Comments Rating
24 May 2013 cprintf - display formatted colored text in the Command Window Displays sprintf-formatted strings in the Command Window using the specified color/underline style Author: Yair Altman Lechner, Martin

There is a minor bug with bold text. The last character of a bold text is displayed as normal text. This is only a problem if the bold text ends with no space or carriage return.
In the exampele below the 'd' of the bold text is shown in normal font.
cprintf('*key','bold'), cprintf('err','normal\n')

Nevertheless, a great tool!

23 May 2013 cprintf - display formatted colored text in the Command Window Displays sprintf-formatted strings in the Command Window using the specified color/underline style Author: Yair Altman Singh, Nitin

23 May 2013 FindJObj - find java handles of Matlab graphic objects Find java objects contained within a specified java container or Matlab GUI handle Author: Yair Altman Lechner, Martin

Sad, that Matlab doesn't support modern GUI development.
Thanks for the great work to overcome the limitations!

23 May 2013 FindJObj - find java handles of Matlab graphic objects Find java objects contained within a specified java container or Matlab GUI handle Author: Yair Altman Lechner, Martin

23 May 2013 UIINSPECT - display methods-properties-callbacks of an object Inspect an object handle (Java/COM/HG); display its methods/properties/callbacks in a unified window Author: Yair Altman Lechner, Martin

Top Tags Applied by Yair
java, gui, undocumented, waitbar, gui tools
Files Tagged by Yair View all
Updated   File Tags Downloads
(last 30 days)
Comments Rating
16 May 2013 Screenshot UISplitPane - Split a container (figure/frame/uipanel) into two resizable sub-containers Split a container (figure/frame/uipanel) into two resizable sub-containers, like Java's JSplitPane Author: Yair Altman java, gui tools, gui, split, pane, potw 30 15
  • 4.75
4.8 | 8 ratings
16 May 2013 Screenshot FindJObj - find java handles of Matlab graphic objects Find java objects contained within a specified java container or Matlab GUI handle Author: Yair Altman example, undocumented, findobj, findall, gui tools, handle 264 77
  • 4.92105
4.9 | 43 ratings
23 Apr 2013 Screenshot propertiesGUI - display properties in an editable context-aware table propertiesGUI processes and displays a list of data properties in a context-aware GUI table Author: Yair Altman gui, java, jide, undocumented 60 6
  • 5.0
5.0 | 3 ratings
19 Apr 2013 Screenshot ScreenCapture - get a screen-capture of a figure frame or component ScreenCapture gets a screen-capture of any Matlab GUI handle, or specified screen area rectangle Author: Yair Altman java, gui 100 10
  • 5.0
5.0 | 11 ratings
20 Mar 2013 Screenshot JTattoo look-and-feel demo GUI JTattooDemo demonstrates effects of Look-and-Feel changes (including JTattoo L&F) on GUI controls Author: Yair Altman gui, java 37 2

Contact us