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

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

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

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

4 years ago | 1

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

4 years ago | 0

| accepted

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

5 years ago | 5

| accepted

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

5 years ago | 0

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

5 years ago | 0

Answered
Interactive broker timeseries vs history?
Both of these functions in the Trading Toolbox call IB's reqHistoricalDataEx function internally, but for some reason Mathworks ...

5 years ago | 0

Answered
Legend looks very weird
Run the following and check if you still see the same problem: plot(1:3,1:3,'ko-', 1:3,2:4,'ro-', 1:3,3:5,'bo-'); legend('Cere...

5 years ago | 0

| accepted

Answered
Scrollable text box for GUI with selectable/editable text
Your script generates a GUI that looks perfectly ok to me (fully scrollable & selectable) on my Win10, in both 18b and 20a. Yo...

5 years ago | 2

| accepted

Answered
How can I suppress warnings about javacomponent being deprecated?
Wrap your javacomponent code as follows: oldWarningState = warning('off', 'MATLAB:ui:javacomponent:FunctionToBeRemoved'); [hjc...

5 years ago | 0

| accepted

Answered
Plotting performance reduced in APP
App Designer creates an HTML/JavaScript-based webpages (uifigures), which are noticably slower than the Java-based figures that ...

5 years ago | 1

| accepted

Answered
Datafeed Toolbox IQFeed Level 1 Data Fields Description
Cross-reference: https://www.mathworks.com/matlabcentral/answers/330794-field-list-of-iqfeed-realtime-data In the Trading Toolb...

5 years ago | 0

Answered
With eSignal/InteractiveData being discontinued in the DataFeed Toolbox, are there any other "mid-range" cost options for financial vendors?
A possible mid-range / low-cost financial datafeed is https://eodhistoricaldata.com, which has a Matlab connector called EODML.

5 years ago | 0

Answered
Creating a time series object from IQFeed data.
Consider using my IQML (IQFeed-Matlab) connector as an alternative. IQML enables both synchronous (blocking) and asynchronous (b...

5 years ago | 0

Answered
IQFeed: plot return from array of cells?
I believe that the DataFeed toolbox functions only store data in base workspace variables, from which you need to fetch them aft...

5 years ago | 0

Answered
Is there a way to get the timestamp including milliseconds when using the timeseries function of the datafeed toolbox?
IQFeed only returns the millisecs if you set the connection's IQFeed API protocol to 5.0 (see the IQFeed changelog). In certain ...

5 years ago | 0

Answered
Can't build Tick data from iQfeed for e-mini S&P Futures(symbol: ES)
Consider using my IQML (IQFeed-Matlab) connector for this. IQML enables both synchronous (blocking) and asynchronous (background...

5 years ago | 0

Load more