Yair Altman
Consultant
Professional Matlab consultant/programmer. http://UndocumentedMatlab.com Books author: "Accelerating MATLAB Performance", "Undocumented MATLAB-Java Programming Secrets" (http://UndocumentedMatlab.com/books). Email: altmany at gmail.com
Feeds
Can I make my gui look like MATLAB's diagram viewer?
You can indeed create custom GUI toolstrips in Matlab, as I have shown in the following series of articles (it's a series of art...
3 months 前 | 0
R2012b custom toolstrip tab?
You can indeed create custom toolstrips in Matlab, as I have shown in the following series of articles: https://undocumentedmatl...
3 months 前 | 0
Custom Toolstrip tab Matlab R2022b?
You can indeed create custom toolstrips in Matlab, as I have shown in the following series of articles: https://undocumentedmatl...
3 months 前 | 0
Performance Issue using cell() to convert Python data types to Matlab
If you are certain that the python list only contains numeric values (as in your example code), then using double() instead of c...
4 months 前 | 0
| 已接受
How to Connect Matlab with Stock Brokers in India
I believe that Interactive Brokers connects to India's stock exchange and also has a Matlab connector - see IB-Matlab. It is al...
5 months 前 | 0
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...
10 months 前 | 0
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...
11 months 前 | 0
| 已接受
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...
1 year 前 | 7
| 已接受
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 years 前 | 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...
2 years 前 | 2
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...
2 years 前 | 0
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...
2 years 前 | 2
| 已接受
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...
2 years 前 | 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...
2 years 前 | 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 ...
2 years 前 | 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...
2 years 前 | 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...
2 years 前 | 1
| 已接受
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...
2 years 前 | 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...
2 years 前 | 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...
2 years 前 | 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...
2 years 前 | 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:...
2 years 前 | 2
| 已接受
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 前 | 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...
2 years 前 | 2
| 已接受
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...
3 years 前 | 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
3 years 前 | 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...
3 years 前 | 0
| 已接受
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...
3 years 前 | 1
| 已接受
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.
3 years 前 | 1
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...
3 years 前 | 0