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...

2 years ago | 0

Submitted


ObjDiff - Generic object comparator
Compares objects of any type inc. Java, Matlab, HG handles, structs, cells & arrays

2 years ago | 1 download |

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:...

2 years 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

Submitted


AVML - Matlab connector to Alpha-Vantage
Matlab connector to Alpha-Vantage

2 years ago | 4 downloads |

Thumbnail

Submitted


cprintf - display formatted colored text in Command Window
Displays sprintf-formatted strings in the Command Window using the specified color/underline style

3 years ago | 98 downloads |

Thumbnail

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...

3 years ago | 2

| accepted

Submitted


str2number - Fast replacement for str2num and str2double
Fast replacement for str2num and str2double; converts simple scalar input string(s) to number(s)

3 years ago | 3 downloads |

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...

3 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

3 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...

3 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...

3 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.

3 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...

3 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-...

4 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...

4 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...

4 years ago | 3

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...

4 years ago | 0

| accepted

Submitted


setFigDockGroup
Sets a figure's docking group container

4 years ago | 3 downloads |

Thumbnail

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 ...

4 years ago | 1

| accepted

Answered
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...

4 years ago | 4

Answered
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:/...

4 years ago | 0

| accepted

Answered
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 (...

4 years ago | 0

| accepted

Answered
[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...

4 years ago | 0

Answered
Heatmap Axis Labels Printing Vertically?
The heatmap's X labels orientation is dynamically determined based on the number of labels and the axes width. In other words, i...

4 years ago | 2

Submitted


popupPanel Displays a popup panel with specified content
popupPanel Displays a popup panel with specified file contents, help topic, HTML or webpage

4 years ago | 1 download |

Thumbnail

Answered
graphics performance 2019a vs 2016b
R2019a uses the integrated axes toolbar, which constantly monitors mouse movements in order to generate data tips on-the-fly. If...

4 years ago | 0

| accepted

Answered
Poor performance of mex file
You m-function uses parallelization (parfor), while your mex file does not. This in itself could cause your m-code to run much f...

4 years ago | 0

Answered
Increase CPU Speed - MAC
You can separate the problem into separate tasks and launch separate Matlab processes to process them in parallel. This is essen...

4 years ago | 0

Answered
How can I clear stuck help popups?
Updates June 12, 2020: There is a recognized bug report on a very similar issue: https://www.mathworks.com/support/bugreports/1...

4 years ago | 7

| accepted

Load more