Rank: 13 based on 2310 downloads (last 30 days) and 50 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
24 Oct 2014 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 example, com, awesome, gui tools, java, object 151 23
  • 5.0
5.0 | 15 ratings
20 Oct 2014 Screenshot UICOMPONENT - expands uicontrol to all Java classes Enhanced replacement for uicontrol & javacomponent, accepting all Java (Swing/AWT) style components Author: Yair Altman javacomponent, uicontrol, graphics, data exploration, java 128 26
  • 5.0
5.0 | 20 ratings
20 Oct 2014 Screenshot setPrompt - Set the Command Window prompt Sets the Command Window prompt to the specified string Author: Yair Altman desktop, command window, undocumented, java 58 13
  • 5.0
5.0 | 10 ratings
20 Oct 2014 Screenshot statusbar set/get status bar(s) for GUI figures & Matlab desktop Author: Yair Altman example, waitbar, gui tools, java, statusbar desktop jav... 106 34
  • 4.95
5.0 | 22 ratings
20 Oct 2014 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 undocumented, example, findobj, findall, gui tools, java 309 103
  • 4.92
4.9 | 57 ratings
Comments and Ratings by Yair View all
Updated File Comments Rating
24 Oct 2014 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

@David - this is fixed in the latest version that I have just uploaded. Enjoy!

20 Oct 2014 UICOMPONENT - expands uicontrol to all Java classes Enhanced replacement for uicontrol & javacomponent, accepting all Java (Swing/AWT) style components Author: Yair Altman

Fixed - download the latest and retry.

13 Oct 2014 statusbar set/get status bar(s) for GUI figures & Matlab desktop Author: Yair Altman

@Peter - I made a few fixes for R2014b in the latest version.

13 Oct 2014 FindJObj - find java handles of Matlab graphic objects Find java objects contained within a specified java container or Matlab GUI handle Author: Yair Altman

ZoƩ - download the latest version, it should work ok on R2014b.

10 Oct 2014 UICOMPONENT - expands uicontrol to all Java classes Enhanced replacement for uicontrol & javacomponent, accepting all Java (Swing/AWT) style components Author: Yair Altman

@Tom - I've updated the utility for R2014b. Download the latest version. It should be backward compatible with earlier Matlab releases as well.

Comments and Ratings on Yair's Files View all
Updated File Comment by Comments Rating
24 Oct 2014 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 Altman, Yair

@David - this is fixed in the latest version that I have just uploaded. Enjoy!

23 Oct 2014 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 David

Hi Yair,

Great tool...I've used it many times in the past with no problems. I tried running it today but got the error message,

uiinspect: Error using setappdata
Invalid object handle

Error in uiinspect>getHandleTree (line 1376)
setappdata(tree_h,
'userdata',userdata);

Error in uiinspect>getMethodsPane (line 1308)
paneContents = getHandleTree(obj,
hFig);

Error in uiinspect>displayObj (line 358)
[methodsPane, hgFlag] =
getMethodsPane(objMethods, obj, hFig);

Error in uiinspect (line 136)
fig = displayObj(obj, objMethods,
objProps, objCallbacks, objChildren,
inputname(1), fig);

My version info is

----------------------------------------------------------------------------------------------------
MATLAB Version: 8.3.0.532 (R2014a)
MATLAB License Number: ******
Operating System: Microsoft Windows 7 Enterprise Version 6.1 (Build 7601: Service Pack 1)
Java Version: Java 1.7.0_11-b21 with Oracle Corporation Java HotSpot(TM) 64-Bit Server VM mixed mode
----------------------------------------------------------------------------------------------------

Thanks so much,
David

20 Oct 2014 UICOMPONENT - expands uicontrol to all Java classes Enhanced replacement for uicontrol & javacomponent, accepting all Java (Swing/AWT) style components Author: Yair Altman Dan

Thanks!!

20 Oct 2014 UICOMPONENT - expands uicontrol to all Java classes Enhanced replacement for uicontrol & javacomponent, accepting all Java (Swing/AWT) style components Author: Yair Altman Altman, Yair

Fixed - download the latest and retry.

20 Oct 2014 UICOMPONENT - expands uicontrol to all Java classes Enhanced replacement for uicontrol & javacomponent, accepting all Java (Swing/AWT) style components Author: Yair Altman Dan

Thanks for this great tool, Yair.

I have problems using the latest version, though: In both HG (2014a) and HG2 (2014b), i get an error using the following syntax, which worked before:

h.fig = figure();
h.menu = uicomponent('Parent',h.fig,'style','JComboBox',{'A','B','C'},'editable',true);
h.menu.JavaComponent.getSelectedItem

error is: Attempt to reference field of non-structure array.

Do I have to change the syntax in the new version?

Thanks, Daniel

Contact us