Community Profile

photo

Yair Altman


Consultant

256 total contributions since 2007

Website: http://UndocumentedMatlab.com
LinkedIn: http://www.linkedin.com/in/yairaltman

Author of "Accelerating MATLAB Performance" book:
http://UndocumentedMatlab.com/books/matlab-performance

Author of "Undocumented Secrets of MATLAB-Java Programming" book:
http://UndocumentedMatlab.com/books/matlab-java

MSc Computer Science, BSc Physics (both with top honors)

Professional programmer and manager since 1991

Contact me: altmany at gmail.com

Contact

Yair Altman's Badges

  • Pro
  • 6 Month Streak
  • Revival Level 3
  • Knowledgeable Level 3
  • Thankful Level 1
  • First Answer

View details...

Contributions in
View by

Answered
deprecated javacomponent and javaframe
I am very sorry to say that I am not aware of any easy way to make the transition from a Java-rich GUI to uifigures. All the mai...

5 days ago | 3

Answered
com.mathworks.*....
These Java classes are internal to Matlab, are unsupported and undocumented. To the best of my knowledge, the only location that...

26 days ago | 1

| accepted

Answered
How do I speed up plotting of interactable scatter points?
Indeed - you get a single line object with multiple data points, this is the main reason for the speedup. In your callback you c...

29 days ago | 0

Answered
How do I speed up plotting of interactable scatter points?
Try to use the vectorized version of plot to plot all the data points in a single function call rather than a loop, and also try...

29 days ago | 0

Answered
How can convert a .gdb (binary file) file to a .mat file ?
I am not familiar with a direct GDB-to-Matlab function. The easiest solution may be to store the data in CSV file rather than G...

1 month ago | 0

Answered
How to speed up function approximation?
It may be useful to replace the string with a function handle. Also, setting the convergence tolerances to smaller values than...

1 month ago | 0

Answered
Converting .fig file into 2D .dxf file
I think it may be simplest to save the figure as PDF and then use one of the multiple available converters from PDF to DXF.

1 month ago | 1

| accepted

Answered
Subscript in stackedplot DisplayLabels
You can access the individual stacked-axes' properties via the hidden sub-property Axes of the stackedplot's AxesProperties prop...

2 months ago | 2

| accepted

Answered
Improving Presentation of a Graph
Regarding output quality, esp. for EPS that you mentioned - many people found the export_fig utility useful for preparing public...

2 months ago | 0

Answered
The following appears in the command window. What does it mean?java.lang.NullPointerException
This is an error that originates from Java code, typically concerning some GUI component that misbehavs or which does not handle...

2 months ago | 0

Answered
Matlab uitable column font size using html not working
HTML is only supported out-of-the-box in the legacy (Java-based) figures, not the new web-based (AppDesigner) uifigures. You ma...

2 months ago | 0

| accepted

Answered
Why does "Auto Width" feature not adapt to table axes size in GUIDE?
The "AutoWidth" setting of the uitable only sets the individual column's width based on its contents. It does not control the en...

3 months ago | 1

Answered
How to add a sortable property to uitable within a classic figure.
My Java-based uitable utility on the Matlab File Exchange provides a sortable wrapper for the legacy uitable. The sorting functi...

3 months ago | 3

| accepted

Submitted


findjobj - find java handles of Matlab graphic objects
Find java objects contained within a specified java container or Matlab GUI handle

3 months ago | 127 downloads |

Thumbnail

Answered
How to open SLDD parameter editor dialog programatically?
try using the openvar function

3 months ago | 0

Answered
Why does fplot think my function is not vectorized
As far as I can tell (never mind exactly how), internally a check is made whether the output of fun(1:3) is exactly equaln to th...

3 months ago | 1

Submitted


checkClass - inspect a Java/Matlab/COM class object/name
inspect a Java/MCOS/COM/.NET object or classname and display its methods, properties, events, interfaces, etc.

3 months ago | 6 downloads |

Thumbnail

Submitted


blurFigure - blurs and prevents interaction on figure window
blurs a specified figure window and prevents interaction with it until the figure is un-blurred

5 months ago | 5 downloads |

Thumbnail

Answered
uigetfile with default filter
Adam Danz had the right idea, but missed a few key things. The FilterIndex field should indeed have influenced the filter select...

6 months ago | 3

Submitted


Draggable data tips
Enable dragging Matlab plot data-tips

6 months ago | 1 download |

Thumbnail

Answered
Unable to connect to Interactive Brokers after installed 2018a in new Laptop
Sometime in recent years, presumably around TWS API 9.70, IB changed their COM server's ProgID from 'TWS.TwsCtrl.1' to 'TWS.TwsC...

6 months ago | 0

Submitted


getjframe - Retrieves a figure's underlying Java frame
Enable multiple window callbacks and properties not exposed by Matlab

7 months ago | 5 downloads |

Answered
How can I speed up my program ?
The first step you should do is to run your code in the Matlab Profiler. This will give you insight as to the specific bottlenec...

7 months ago | 0

Answered
Slider Code problem with axes
In your example, both val and x are not scalars. When you multiply vectors/matrices in Matlab using the * operator, Matlab uses ...

7 months ago | 0

Answered
I would like to add a 'display-all' hyperlink functionality to a class.
It is true that desktop hyperlinks only work at the base workspace level, but you can still access specific object instances if ...

7 months ago | 0

| accepted

Answered
Upside down display of graph
Try to do the following, step-by-step, until you find one of them solves the problem: set(gcf,'renderer','opengl'); opengl('so...

7 months ago | 0

Answered
How could i displace the values of X axis under X axis (Y negative) ?
A peculiarity of AxisLocation='origin' is that the X and Y tick labels automatically switch location (from below the X axis to a...

7 months ago | 1

Answered
Environment variables in javaclasspath.txt
I do not believe that you can use env vars in your javaclasspath.txt file, but as workaround, you can programmatically load the ...

7 months ago | 0

| accepted

Answered
Why Don't Set Breakpoints Work in R2018b?
This could happen if your script runs inside a parallel loop (spmd or parfor), or is shaddowed by a binary version (e.g., file.m...

7 months ago | 0

Answered
Using 2018b javaclasspath.txt doesn't seem to get loaded during batch startup.
I'm not sure why your javaclasspath.txt file doesn't load in batch mode. As workaround, you can programmatically load the necess...

7 months ago | 0

Load more