Community Profile

photo

Yair Altman


Consultant

Last seen: 1 day ago Active since 2007

Website: http://UndocumentedMatlab.com Professional programmer and manager since 1991. Author: "Accelerating MATLAB Performance" book: http://UndocumentedMatlab.com/books/matlab-performance "Undocumented MATLAB-Java Programming Secrets": http://UndocumentedMatlab.com/books/matlab-java MSc Computer Science, BSc Physics (both with top honors). Contact me at: altmany at gmail.com

Statistics

All
  • Thankful Level 2
  • Pro
  • Top Downloads 2023
  • Top Downloads 2022
  • Top Downloads 2021
  • Top Downloads 2020
  • Top Downloads 2019
  • GitHub Submissions Level 3
  • Personal Best Downloads Level 5
  • Editor's Pick
  • First Review
  • 5-Star Galaxy Level 5

View badges

Content Feed

View by

Answered
How to prevent export_fig plot background images to have a low resolution?
Anti-aliasing is especially important for exported text characters, so by forcing export_fig to not anti-alias (using -a1) you a...

2 months ago | 0

Answered
uifigure vector export size/resolution
As already noted above, neither print nor the exportgraphics functions support setting the output page size, and ignore the figu...

3 months ago | 0

| accepted

Answered
Is "Undocumented Secrets of MATLAB Java Programming" by Yair Altman still up to date?
As of the latest release (R2023b), most of what I posted over the years on the undocumentedmatlab.com website (and in the 2011 b...

5 months ago | 6

| accepted

Answered
How can I make the execution speed consistent while I am testing the speed of the programs?
I can certainly understand the desire to use a sandboxed environment that would enable you to optimize the performance of your p...

1 year ago | 0

Answered
Get data point that was clicked on in graph
At your service :-) t=0:.01:5; y=sin(t); hPlot=plot(t,y); hPlot.ButtonDownFcn = @(h,e) disp(e.IntersectionPoint); Now wheneve...

1 year ago | 1

Answered
Simulink Project Opening Speeds
You might find some of the ideas in the following article useful. It's a bit old, but some of the suggestions might possibly sti...

1 year ago | 0

Answered
Axes box incompletely copied to clipboard
@Matt J export_fig(gcf,'-transparent','-clipboard') v3.28 now supports figure transparency for image fomats as well as EMF (wher...

1 year ago | 2

| accepted

Answered
Get path from running script
mfilename('fullpath') does indeed return the full path to the currently-running script file, at least on the latest Matlab relea...

1 year ago | 1

Answered
how to change java icon (after convert GUI to exe file) to my project logo
The icon image needs to be placed next to the executable when you run the program, otherwise it will not be found and the defaul...

1 year ago | 0

Answered
Increase Java Heap Space for a appliction created by Matlab Application Compiler
You can add a java.opts file to the "Files installed for your end users" section, at the bottom of the deploy-tool window, next ...

1 year ago | 0

Answered
Java Icon after packaging standalone application
The icon image needs to be placed next to the executable when you run the program, otherwise it will not be found and the defaul...

1 year ago | 0

Answered
Compiler Question - Figure Docking
The Matlab Desktop is not available in compiled application, and for a very good reason - otherwise users could compile and dist...

1 year ago | 1

| accepted

Answered
Docking a figure in application
The ability to dock figures in deployed programs is available, but is intentionally blocked by the Matlab compiler. I think this...

1 year ago | 1

Answered
Figure docking not working when an application is created using the MATLAB Compiler
The ability to dock figures in deployed programs is available, but is intentionally blocked by the Matlab compiler. I think this...

1 year ago | 0

Answered
Compiled application can't dock figures
The ability to dock figures in deployed programs is available, but is intentionally blocked by the Matlab compiler. I think this...

1 year ago | 0

Answered
GPU speed up for pcg() is disappointing
The gpuArray version of pcg has not been updated since 2018, so it is somewhat lagging compared to the CPU version. Precondition...

1 year ago | 0

Answered
Can you programmatically delete text in the editor window?
You can simply update the activeFile.Text property based on your code logic. For example: activeFile.Text = [activeFile.Text(1:...

1 year ago | 2

| accepted

Answered
Requirement to speed up MATLAB Simulink file
Use the Profiler to discover where your performance hotspots are. It is quite possible that you will discover that it's not in y...

2 years ago | 0

Answered
Matlab class property specification
Starting in 16a, you can use the new syntax as long as you don't specify the dimensions. In other words, the following 2 propery...

2 years ago | 2

| accepted

Answered
Any simple ideas to improve performance of reading long (10 GB scale) .csv file?
If you need to read the entire file for some reason, then try to use parallelization with multiple workers. Each worker would re...

2 years ago | 0

Answered
Operand stack and Execution stack Error using append_pdfs
append_pdfs only accepts PDF input files, not PNG files or any other non-PDF files

2 years ago | 0

Answered
How to add multiple styles to my uiTree?
This looks like an internal Matlab bug. Specifically, after deleting nodes, the uitree's internal StyleConfigurationStorage prop...

2 years ago | 0

| accepted

Answered
how to find brushed data
In the new graphics system (R2014b onward), the brushed data info can be extracted from the hidden/undocumented BrushHandles pro...

2 years ago | 1

| accepted

Answered
Exporting images (png) through export_fig - painfully slow
Try to either reduce the resolution (the -r450 part), or to save as a vector-graphics image (PDF/EPS) rather than a PNG bitmap.

2 years ago | 1

Answered
How to save very large image to original resolution
Try to use export_fig's sister image-export utility, ScreenCapture: https://www.mathworks.com/matlabcentral/fileexchange/24323-s...

2 years ago | 0

Answered
Can I somehow improve performance of str2double?
I use the following function to convert a cell-array of strings to a cell-array of numeric values (where applicable) - it is ~2-...

3 years ago | 3

Answered
Speed issues with Matlab code compiled using SDK compiler for Python
Perhaps your deployed environment is different from your Matlab &D one. For example, perhaps you can access a GPU on the R&D env...

3 years ago | 0

Answered
How To Clear Java Heap Space Memory????
Clearing Matlab's Java heap space has been long awaited, but I'm afraid that the suggested submission (Davide Tabarelli's JavaHe...

3 years ago | 2

Answered
Import data tool speed
The import tool GUI only shows you a preview of the data, based on the top N lines in the file, it does not read and process the...

3 years ago | 0

| accepted

Answered
MATLAB Profiler - Granularity of Information
Use the [undocumented] -detail builtin profiler option, as in: profile on -detail builtin This works on old Matlab releases as ...

3 years ago | 1

| accepted

Load more