Community Profile

photo

Yair Altman


Consultant

1,612 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

Contact me: altmany at gmail.com

Contact

Yair Altman's Badges

  • First Answer
  • 
  • Revival Level 2
  • 
  • Thankful Level 1
  • 
  • 3 Month Streak
  • 
  • Knowledgeable Level 3
  • 

View details...

Contributions in
View by

Answered
Matlab freeze when using a file dialog selection
The reason and the solution are explained here: http://undocumentedmatlab.com/blog/solving-a-matlab-hang-problem It seems tha...

4 days ago | 0

Answered
How do I change the border style of a pushbutton with findjobj?
Read this: <http://undocumentedmatlab.com/blog/customizing-uicontrol-border> For a list of available border types, read the <...

6 days ago | 0

Answered
Break both axis simultaneously
breakxaxis is a File Exchange utility ( <https://www.mathworks.com/matlabcentral/fileexchange/3683-breakxaxis link> ), not a bui...

20 days ago | 1

Answered
Fit buttons to full screen
In App Designer, set the buttons' Units property to 'Normalized' instead of 'Pixels' (or whatever other value they currently hav...

20 days ago | 0

| accepted

Answered
programatically dock and undock the editor
You can programmatically dock/undock editor files as follows: com.mathworks.mde.desk.MLDesktop.getInstance.setClientDocked(...

24 days ago | 1

Answered
How can I access the Axle property in an axis ruler?
The Axle properties only become accessible once the graphics are fully rendered. This is why it works in your command window (wh...

24 days ago | 1

Answered
Matlab 2016b - Maximizing affects pause
Use the *_drawnow_* function instead of *_pause_* - *_drawnow_* returns only after the entire GUI is processed and displayed (wh...

24 days ago | 0

Submitted


export_fig
Exports figures nicely to a number of vector & bitmap formats

1 month ago | 2503 downloads |

Thumbnail

Submitted


checkClass - inspect a Java/Matlab/COM class object/name
checks a Java/MCOS/COM object or classname and displays its methods, enumerations & interfaces

1 month ago | 7 downloads |

Thumbnail

Submitted


compare .fig files, or folders containing .fig files
compareFigFiles compares GUI (*.FIG) files, reporting differences in components/properties

3 months ago | 3 downloads |

Thumbnail

Answered
Trader Toolbox realtime function is apparently undefined even when I have the file path identified.
The realtime() function of Trading Toolbox for IB TWS was only introduced in R2015a. If you upgrade your Matlab license you shou...

3 months ago | 2

| accepted

Answered
Is it possible to improve fread/fwrite performance and further speed up loading/writing of binary data?
You might try some of the suggestions mentioned here: * http://undocumentedmatlab.com/blog/improving-fwrite-performance * ht...

3 months ago | 0

Answered
How can I get text in figures to display symbols?
Perhaps this will help you: <http://undocumentedmatlab.com/blog/customizing-matlab-labels> %show the 'for all' and 'beta' s...

3 months ago | 1

Answered
Is there an hidden status for popup menus?
This functionality is part of the underlying Java object that is used by the Matlab GUI. You can customize it at the Java level ...

5 months ago | 3

| accepted

Responded


Re: Display the '_' character in a listbox
Try to reduce the listbox's FontSize property value, and/or to change the FontName. Yair Altman http://UndocumentedMatlab.com ...

5 months ago | 676 views

Responded


Re: Help Using save
The save() function expects a variable *name* (not data) as the second input argument. i.e., save(filename1, 'lineeq' ) Yair Alt...

5 months ago | 726 views

Answered
How to raise simulation speed with plotting in Simulink
Perhaps you will find some of the ideas here useful: <http://undocumentedmatlab.com/blog/improving-simulink-performance> Yair...

5 months ago | 0

Responded


Re: Default properties for figures and axes
Perhaps this will help you: http://undocumentedmatlab.com/blog/getting-default-hg-property-values Yair Altman http://Undocume...

6 months ago | 36593 views

Submitted


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

6 months ago | 180 downloads |

Thumbnail

Responded


Re: Using java.nio.file.Files.move
ja = javaArray('java.nio.file.StandardCopyOption',1); ja(1) = java.nio.file.StandardCopyOption.REPLACE_EXISTING; java.nio.file.F...

6 months ago | 782 views

Responded


Re: efficiency using categorical data
Duplicating a long string multiple time is indeed wasteful in memory. Storing a cell array of unique strings and then storing ju...

6 months ago | 1113 views

Responded


Re: efficiency using categorical data
Categorical data and tables in general use more memory and are less performant than the corresponding implementation using simpl...

6 months ago | 1113 views

Responded


Re: Parfor Generating Different Results
Perhaps it's related to this: http://UndocumentedMatlab.com/blog/quirks-with-parfor-vs-for Yair Altman http://UndocumentedMatl...

7 months ago | 829 views

Responded


Re: fprintf with unicode
Perhaps this will help: See http://UndocumentedMatlab.com/blog/couple-of-matlab-bugs-and-workarounds#comment-340931 as well as ...

7 months ago | 1246 views

Responded


Re: Error loading Java class
The following article lists potential reasons for this: http://UndocumentedMatlab.com/blog/java-class-access-pitfalls Yair Altm...

7 months ago | 1011 views

Answered
Increasing HG2 framerate when updating large meshes: mission impossible?
There is indeed a performance penalty for HG2 compared to HG1. One thing that could alleviate the pain is to use the new 'limitr...

7 months ago | 0

Responded


Re: Thread disappeared after reply (attn. Petr, Yair)
snip] I strongly concur. It has been my personal experience that MathWorks, unlike many other large software vendors, places a...

9 months ago | 2587 views

Responded


Re: Thread disappeared after reply (attn. Petr, Yair)
CSSM is a news-group and as such it is not controlled by MathWorks. You can still see the thread on Google Groups (for example):...

9 months ago | 2587 views

Responded


Re: What an idiotic decision!
I also agree - I think it's a very logical extension. Yair Altman http://UndocumentedMatlab.com

9 months ago | 7742 views

Responded


Re: knowing when asynchronous data return is finished?
Use the optional elistener and ecallback parameters of the timeseries function, as explained on the doc page that you referenced...

9 months ago | 1021 views

Load more