Question

How to use command line svn with builtin MATLAB integration?

MATLAB ships with a built in source controle integrations with svn or git. I am using svn, which works fine in MATLAB via the f...

4 months ago | 1 answer | 0

Answered

Using Function and rowfun

You may need to set the 'InputVariables' parameter for rowfun to {'Vzr' 'Vzi' } to pass only these variables to your function. r...

Using Function and rowfun

You may need to set the 'InputVariables' parameter for rowfun to {'Vzr' 'Vzi' } to pass only these variables to your function. r...

4 months ago | 0

| accepted

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

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

1 year 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"...

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

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

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

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

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

3 years ago | 0 answers | 0

Submitted

dirtab(in)

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

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

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

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

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

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

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

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

5 years 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')...

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

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

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

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

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

6 years ago | 10 answers | 2

Submitted

datenum2datetime(T, vars)

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

6 years ago | 1 download |

Submitted

Apply Standard+ Keyboard Shortcuts Keys to a Figure Window

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

6 years ago | 2 downloads |

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

7 years ago | 6

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

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

7 years ago | 0 answers | 0