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

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

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

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

quasi 4 anni fa | 0

| accettato

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

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

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

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

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

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

oltre 4 anni fa | 2

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

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

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

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

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

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

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

quasi 5 anni fa | 0

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

quasi 5 anni fa | 0

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

quasi 5 anni fa | 0

| accettato

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

quasi 5 anni fa | 2

| accettato

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

quasi 5 anni fa | 0

| accettato

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

quasi 5 anni fa | 1

| accettato

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

quasi 5 anni fa | 0

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

quasi 5 anni fa | 0

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

quasi 5 anni fa | 0

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

quasi 5 anni fa | 0

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

quasi 5 anni fa | 0

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

quasi 5 anni fa | 0

Carica altro