Rank: 17 based on 1394 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
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 59 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 117 9
  • 5.0
5.0 | 10 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 56 2
21 Feb 2013 Screenshot checkVersion - Check for a newer file version on the File Exchange checkVersion implements an auto-update mechanism to check for a newer version of a utility on FEX Author: Yair Altman gui 3 1
  • 5.0
5.0 | 1 rating
25 Jan 2013 Screenshot 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 com, example, object, gui tools, java, handle 91 17
  • 5.0
5.0 | 10 ratings
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
27 Apr 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 Almog, Barak

Awesome submission. Works perfectly on my 2012b. Thanks alot, Yair!

24 Apr 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 Andrews, Paul

23 Apr 2013 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 Woodford, Oliver

Great tool. Worked when getframe() didn't.

20 Apr 2013 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 Shahedi, Maysam

It's cool!

19 Apr 2013 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 Filion, Adam

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
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 59 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 117 9
  • 5.0
5.0 | 10 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 56 2
21 Feb 2013 Screenshot checkVersion - Check for a newer file version on the File Exchange checkVersion implements an auto-update mechanism to check for a newer version of a utility on FEX Author: Yair Altman gui 3 1
  • 5.0
5.0 | 1 rating
25 Jan 2013 Screenshot 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 com, example, object, gui tools, java, handle 91 17
  • 5.0
5.0 | 10 ratings

Contact us