Answered

Data Tips Enable in an WebApp

According to the limitations here "Data tips for graphics are not supported" However I really need this feature so that an end-...

Data Tips Enable in an WebApp

According to the limitations here "Data tips for graphics are not supported" However I really need this feature so that an end-...

5 månader ago | 0

Answered

Why do I get the error “Error using vertcat Dimensions of arrays being concatenated are not consistent.”?

Could it be that your variable strHH is not a row vector char array? I find it useful to define sql statement in a separate lit...

Why do I get the error “Error using vertcat Dimensions of arrays being concatenated are not consistent.”?

Could it be that your variable strHH is not a row vector char array? I find it useful to define sql statement in a separate lit...

ungefär ett år ago | 0

Answered

Sort and match data in a table

You might consider groupsummary(D, 'Col1', @(x){x}) where D is table containing your data. This does leave a "ragged right"...

Sort and match data in a table

You might consider groupsummary(D, 'Col1', @(x){x}) where D is table containing your data. This does leave a "ragged right"...

mer än ett år ago | 0

| accepted

Answered

Can I modify the banner for a MATLAB web-app

I contacted Mathworks and they pointed out that the banner "MATLAB Web Apps" disappears for running apps in R2019a. I note you c...

Can I modify the banner for a MATLAB web-app

I contacted Mathworks and they pointed out that the banner "MATLAB Web Apps" disappears for running apps in R2019a. I note you c...

mer än ett år ago | 0

| accepted

Question

Can I modify the banner for a MATLAB web-app

when running a particular web app, there is a fat banner labelled "MATLAB Web Apps" at the top of the browser screen. There is a...

nästan 2 år ago | 1 answer | 0

Answered

Why does javaclasspath.txt not set the static javaclasspath when I re-start MATLAB

Answering my own question (because it showed up on the automated Related Content search) - see this Answer <https://uk.mathwo...

Why does javaclasspath.txt not set the static javaclasspath when I re-start MATLAB

Answering my own question (because it showed up on the automated Related Content search) - see this Answer <https://uk.mathwo...

mer än 2 år ago | 0

| accepted

Question

Why does javaclasspath.txt not set the static javaclasspath when I re-start MATLAB

<https://blogs.mathworks.com/loren/2016/07/11/clearing-the-air-in-your-matlab-session/?s_tid=srchtitle#comment-46425 Here's> a n...

mer än 2 år ago | 1 answer | 0

Question

Did R2018a change the Exception ID for non-existing directory / folder

My code broke in R2018a when the MException id apparently changed from 'MATLAB:cd:NonExistentDirectory' into 'MATLAB:cd:NonEx...

nästan 3 år ago | 0 answers | 0

Submitted

dirtab(in)

Tabulate directory list (dir results as table also with extension)

nästan 3 år ago | 1 download |

Question

Can DatabaseDatastore work with Oracle, for example?

According to the doc here <https://uk.mathworks.com/help/database/ug/databasedatastore.html DatabaseDatastore> object supports...

nästan 3 år ago | 1 answer | 0

Answered

How to paste nicely into Excel from MATLAB variable editor?

Thanks for your point. I don't have OpenOffice but I confirm that behaviour I first complained about still applies in MATLAB R20...

How to paste nicely into Excel from MATLAB variable editor?

Thanks for your point. I don't have OpenOffice but I confirm that behaviour I first complained about still applies in MATLAB R20...

mer än 3 år ago | 0

Solved

Combine the first and last names

MATLAB R2016 provides a rich set of functions to work with string arrays. In this problem, you will be given two string arrays o...

nästan 4 år ago

Answered

Moving Average Filter: A doubt

Yes, the 2 lines you wrote do achieve what you want. The filter function is causal and inclusively ends at t0. The much newer fu...

Moving Average Filter: A doubt

Yes, the 2 lines you wrote do achieve what you want. The filter function is causal and inclusively ends at t0. The much newer fu...

ungefär 4 år ago | 0

Question

What do you think of "Did you mean clearvars -except".....?

I often use clearvars -except, e.g. clearvars -except temperature loads speeds but because I don't sub-vocalize the hyph...

mer än 4 år ago | 2 answers | 0

Answered

How do I find the index of a datapointon a MATLAB plot?

Surely the approved method for this is to use a data cursor? I fear that it may respond slowly to navigation if you have a milli...

How do I find the index of a datapointon a MATLAB plot?

Surely the approved method for this is to use a data cursor? I fear that it may respond slowly to navigation if you have a milli...

mer än 4 år ago | 0

Answered

I want to conver the excel dateformat('27-03-2013 06:00:00') in to matlab yearday i.e 31 jan 2013 = 31 and `1st Feb 2013 = 32

Consider: t = {'27-03-2013 06:00:00' % in text form, apparently from Excel '09-02-2013 12:00:00' } % an example m...

I want to conver the excel dateformat('27-03-2013 06:00:00') in to matlab yearday i.e 31 jan 2013 = 31 and `1st Feb 2013 = 32

Consider: t = {'27-03-2013 06:00:00' % in text form, apparently from Excel '09-02-2013 12:00:00' } % an example m...

mer än 4 år ago | 0

| accepted

Answered

How do I read the text between href tags and return the results in a cell array?

You can try something like >> RE='<a[\s]+href="(?<target>.*?)"[^>]*>(?<text>.*?)</a>'; >> list=regexp(html, RE, 'names')...

How do I read the text between href tags and return the results in a cell array?

You can try something like >> RE='<a[\s]+href="(?<target>.*?)"[^>]*>(?<text>.*?)</a>'; >> list=regexp(html, RE, 'names')...

mer än 4 år ago | 0

| accepted

Answered

Extract hyperlink from data retrieved through urlread()

By default hyperlinks are rendered in the command window. You already have the underlying text that you want in your variable bu...

Extract hyperlink from data retrieved through urlread()

By default hyperlinks are rendered in the command window. You already have the underlying text that you want in your variable bu...

mer än 4 år ago | 1

| accepted

Answered

Load data from .MAT into .XML

With a single use-case you could just write your own function by expanding the example given in MATLAB help <http://uk.mathworks...

Load data from .MAT into .XML

With a single use-case you could just write your own function by expanding the example given in MATLAB help <http://uk.mathworks...

mer än 5 år ago | 0

Answered

detect debug mode

I also needed an answer to this question! I was pleased just now to find here on Answers that feature('IsDebugMode') does the tr...

detect debug mode

I also needed an answer to this question! I was pleased just now to find here on Answers that feature('IsDebugMode') does the tr...

mer än 5 år ago | 4

Answered

How to paste nicely into Excel from MATLAB variable editor?

_It is not directly possible. From Mathworks:_ I understand that you would like to paste cells with strings from the MATLAB V...

How to paste nicely into Excel from MATLAB variable editor?

_It is not directly possible. From Mathworks:_ I understand that you would like to paste cells with strings from the MATLAB V...

nästan 6 år ago | 0

| accepted

Question

How to paste nicely into Excel from MATLAB variable editor?

One can readily paste data from Excel into a MATLAB cell array in the variable editor using Paste Excel Data (Ctrl-Shift-V), but...

nästan 6 år ago | 9 answers | 2

Submitted

datenum2datetime(T, vars)

Convert numeric datenum array, or given columns of table or dataset, to new datetime class

nästan 6 år ago | 2 downloads |

Submitted

Apply Standard+ Keyboard Shortcuts Keys to a Figure Window

Make regular+ Keyboard Shortcuts work after a Figure window grabs focus from the desktop.

mer än 6 år ago | 1 download |

Answered

How do I invoke a shadowed core MATLAB function (not built-in) from an overloaded function of same name

A colleague gave me this answer, which I have used. I put the following code into the top of my overlay function (print() in my ...

How do I invoke a shadowed core MATLAB function (not built-in) from an overloaded function of same name

A colleague gave me this answer, which I have used. I put the following code into the top of my overlay function (print() in my ...

mer än 6 år ago | 4

| accepted

Question

How do I invoke a shadowed core MATLAB function (not built-in) from an overloaded function of same name

In an application I wanted to add a calling jacket for MATLAB's print. I was trying to add a print option -dsvg which used the g...

mer än 6 år ago | 2 answers | 0

Question

How can I detect when a figure's colormap is changed?

The most obvious way to change a figure's colormap is via the Edit/Colormap... menu, although controls such as those added with ...

ungefär 7 år ago | 0 answers | 0

Answered

Initializing a struct with n-d fields.

An alternative approach just using builtin functions C = cell(numel(field),1,2,3,4); % pre-allocate cell-array to required ...

Initializing a struct with n-d fields.

An alternative approach just using builtin functions C = cell(numel(field),1,2,3,4); % pre-allocate cell-array to required ...

ungefär 7 år ago | 0

Question

Where did my Service Requests go?

The look and feel of the service request history in my TMW account appears to have had a makeover. While this looks like a wel...

ungefär 7 år ago | 1 answer | 1