
Yair Altman
Consultant
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
RANK
139
of 273 501
REPUTATION
804
CONTRIBUTIONS
2 Questions
261 Answers
ANSWER ACCEPTANCE
100.0%
VOTES RECEIVED
277
RANK
3 of 18 460
REPUTATION
69 510
AVERAGE RATING
4.90
CONTRIBUTIONS
65 Files
DOWNLOADS
1585
ALL TIME DOWNLOADS
593632
RANK
of 122 966
CONTRIBUTIONS
0 Problems
0 Solutions
SCORE
0
NUMBER OF BADGES
0
CONTRIBUTIONS
0 Posts
CONTRIBUTIONS
0 Public Channels
AVERAGE RATING
CONTRIBUTIONS
0 Highlights
AVERAGE NO. OF LIKES
Content Feed
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...
2 dagar ago | 0
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...
8 dagar ago | 1
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...
ungefär 2 månader ago | 0
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...
3 månader ago | 1
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...
3 månader ago | 0
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 ...
3 månader ago | 0
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...
3 månader ago | 0
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...
3 månader ago | 1
| accepted
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...
3 månader ago | 1
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...
3 månader ago | 0
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...
3 månader ago | 0
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...
5 månader ago | 0
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:...
6 månader ago | 2
| accepted
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...
8 månader ago | 0
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...
11 månader ago | 2
| accepted
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...
ungefär ett år ago | 0
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
ungefär ett år ago | 0
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...
ungefär ett år ago | 0
| accepted
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...
mer än ett år ago | 1
| accepted
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.
mer än ett år ago | 0
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...
mer än ett år ago | 0
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-...
nästan 2 år ago | 3
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...
ungefär 2 år ago | 0
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...
ungefär 2 år ago | 2
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...
ungefär 2 år ago | 0
| accepted
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 ...
mer än 2 år ago | 1
| accepted
How can I make the plot transparent in a gscattter?
Nice answer Adam, but not exactly accurate if you are willing to use some undocumented features... The underlying objects in a...
mer än 2 år ago | 3
MATLAB export_fig crops title
This is fixed in the latest version of export_fig (3.09). In the future, report such issues in export_fig's issues page: https:/...
mer än 2 år ago | 0
| accepted
How to speed up a code from the Code Profiler Results ?
Try to set the "Vectorized" property using the odeset function, before running ode45. Also, specifying the Jacobian in advance (...
mer än 2 år ago | 0
| accepted
[Soft question] Tips and tools to analyze unfamiliar OO code
For inspecting a single object or class, try the GUI-based uiinspect utility (https://www.mathworks.com/matlabcentral/fileexch...
mer än 2 år ago | 0