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

oltre 2 anni fa | 2

| accettato

Inviato


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

oltre 2 anni fa | 6 download |

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

oltre 2 anni fa | 0

Risposto
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

oltre 2 anni fa | 0

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

oltre 2 anni fa | 0

| accettato

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

oltre 2 anni fa | 1

| accettato

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

oltre 2 anni fa | 1

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

quasi 3 anni fa | 0

Inviato


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

quasi 3 anni fa | 55 download |

Thumbnail

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

oltre 3 anni fa | 3

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

oltre 3 anni fa | 0

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

oltre 3 anni fa | 3

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

oltre 3 anni fa | 0

| accettato

Inviato


setFigDockGroup
Sets a figure's docking group container

oltre 3 anni fa | 1 download |

Thumbnail

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

quasi 4 anni fa | 1

| accettato

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

quasi 4 anni fa | 4

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

quasi 4 anni fa | 0

| accettato

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

quasi 4 anni fa | 0

| accettato

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

quasi 4 anni fa | 0

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

quasi 4 anni fa | 2

Inviato


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

circa 4 anni fa | 2 download |

Thumbnail

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

circa 4 anni fa | 0

| accettato

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

circa 4 anni fa | 0

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

circa 4 anni fa | 0

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

circa 4 anni fa | 7

| accettato

Risposto
dynamic java path vs static java path
Some Java functionality, especially those that are concerned with Java events that need to propagate to Matlab callbacks, does n...

circa 4 anni fa | 1

Risposto
Matlab in AVX2 mode (for AMD CPU's)
This is apparently fixed on R2020a as reported by @NedFlanders (original credit is apparently due to @MichelKatz): https://www...

circa 4 anni fa | 0

| accettato

Risposto
How to change Heatmap's Grid (Edge) appereance and behavior?
There are several alternatives: Update the grid style to a non-solid line, for example: hHeatmap = struct(h_map).Heatmap; hHe...

oltre 4 anni fa | 5

| accettato

Risposto
Unable to use Java class in a package - Undefined function or variable 'CartesianCoordinate'.
This problem could be due to numerous possible causes, and unfortunately Matlab is not very helpful in explaining the root cause...

oltre 4 anni fa | 0

Risposto
How to load multiple excel files with multiple excel sheets and store it in matlab faster?
Try to use the 'basic' mode of xlsread, which reads the XLS file directly instead of using the much slower Excel instance: for ...

oltre 4 anni fa | 0

Carica altro