Answered

Restore old editor in R2021b?

I changed these settings and it greatly improved the font for me: s = settings; s.matlab.fonts.custom.editor.FontToUse.Persona...

Restore old editor in R2021b?

I changed these settings and it greatly improved the font for me: s = settings; s.matlab.fonts.custom.editor.FontToUse.Persona...

4 months ago | 2

Answered

Adding bulleted list to PowerPoint using MATLAB Report Generator

The template should not be a pptx file but a potx file.

Adding bulleted list to PowerPoint using MATLAB Report Generator

The template should not be a pptx file but a potx file.

4 months ago | 0

Answered

MATLAB App Testing - Confirmation dialog boxes

You can dismiss and alert but not a confirmation dialog yet. Capability for alerts added in 21a. https://www.mathworks.com/h...

MATLAB App Testing - Confirmation dialog boxes

You can dismiss and alert but not a confirmation dialog yet. Capability for alerts added in 21a. https://www.mathworks.com/h...

4 months ago | 1

Answered

Code conversion using matlab coder

Being pedantic, you should NOT be using scripts but functions for everything. So step 1 is convert everything to functions. Re...

Code conversion using matlab coder

Being pedantic, you should NOT be using scripts but functions for everything. So step 1 is convert everything to functions. Re...

4 months ago | 0

| accepted

Answered

How to trigger an App Designer UI component's callbacks programatically, like `notify()`

Do you want to do this in the scope of testing, or to reuse the functionality of the button callback? For the former, look at m...

How to trigger an App Designer UI component's callbacks programatically, like `notify()`

Do you want to do this in the scope of testing, or to reuse the functionality of the button callback? For the former, look at m...

5 months ago | 0

Answered

How to implement an API REST POST in Matlab

Look at either: weboptions('RequestMethod','post') or doc webwrite

How to implement an API REST POST in Matlab

Look at either: weboptions('RequestMethod','post') or doc webwrite

5 months ago | 0

| accepted

Answered

2d interpolation of n-dimensional data

You can just change the Values of one scatteredInterpolant object. It won't have to redo the expensive underlying triangulation...

2d interpolation of n-dimensional data

You can just change the Values of one scatteredInterpolant object. It won't have to redo the expensive underlying triangulation...

5 months ago | 0

| accepted

Answered

Why does this example from MathWorks work on Windows but not on Mac?

which -all plot It's not win v. mac but that you've shadowed plot on the failing machine.

Why does this example from MathWorks work on Windows but not on Mac?

which -all plot It's not win v. mac but that you've shadowed plot on the failing machine.

5 months ago | 0

| accepted

Answered

which one is better?deep learning toolbox or matconvnet

Matconvnet hasn't been updated in 3 years. Deep Learning Toolbox has dozens of full time staff working on it, improving it, and...

which one is better?deep learning toolbox or matconvnet

Matconvnet hasn't been updated in 3 years. Deep Learning Toolbox has dozens of full time staff working on it, improving it, and...

5 months ago | 0

Answered

How to become a staff if you are among the big potatos of mathworks in the answer community?

Hi Wan Ji, I'd be happy to refer you to a MathWorks position. I got my referral from someone who observed me answering questio...

How to become a staff if you are among the big potatos of mathworks in the answer community?

Hi Wan Ji, I'd be happy to refer you to a MathWorks position. I got my referral from someone who observed me answering questio...

5 months ago | 0

Answered

Pattern Search Stopping Criteria

You can use an outputfcn for this. The output function can pass back a stop flag. https://www.mathworks.com/help/releases/R202...

Pattern Search Stopping Criteria

You can use an outputfcn for this. The output function can pass back a stop flag. https://www.mathworks.com/help/releases/R202...

5 months ago | 0

| accepted

Answered

Calling MATLAB class functions from Python with matlab.engine

MWE works for me. Specify nargout, and make sure your directories are on the path (strongly recommend using Projects for this, ...

Calling MATLAB class functions from Python with matlab.engine

MWE works for me. Specify nargout, and make sure your directories are on the path (strongly recommend using Projects for this, ...

5 months ago | 0

Answered

uitable with latex or greek letters

You could use a uihtml component with an embedded table. Of course this table will not be interactive, but if it's for display ...

uitable with latex or greek letters

You could use a uihtml component with an embedded table. Of course this table will not be interactive, but if it's for display ...

5 months ago | 0

Answered

Set value for elements within a polygon

Something along this line will work too. Note, you may need to deal with x/y v. row/col indexing (swap meshgrid for ndgrid). d...

Set value for elements within a polygon

Something along this line will work too. Note, you may need to deal with x/y v. row/col indexing (swap meshgrid for ndgrid). d...

5 months ago | 1

Answered

How to create a map mask using coordinates

What is your end goal? You need to project lat and lon into cartesian coordinates. From there, you can use poly2mask. The res...

How to create a map mask using coordinates

What is your end goal? You need to project lat and lon into cartesian coordinates. From there, you can use poly2mask. The res...

5 months ago | 0

Answered

My code runs as a m file but not as an exe. What to do?

This answer explains it: How can I compile a pre-trained neural network into a standalone application using the MATLAB Compiler...

My code runs as a m file but not as an exe. What to do?

This answer explains it: How can I compile a pre-trained neural network into a standalone application using the MATLAB Compiler...

6 months ago | 0

Answered

Aerospace toolbox: “Unable to resolve the name” error

which -all Aero.FixedWing

Aerospace toolbox: “Unable to resolve the name” error

which -all Aero.FixedWing

6 months ago | 0

Answered

How to have multiple lines in a table variable name?

t = table(1,'VariableNames',"hello"+newline+"world") t(1, "hello"+newline+"world") Not sure why you'd want this though?

How to have multiple lines in a table variable name?

t = table(1,'VariableNames',"hello"+newline+"world") t(1, "hello"+newline+"world") Not sure why you'd want this though?

6 months ago | 0

| accepted

Published

Import Explorer to help you with importing table data

Jiro's Pick this week is Import Explorer for tables by Jan Studnicka.When importing data as a table, you can use...

6 months ago

Published

Industrial Machinery Anomaly Detection

Rachel is the product manager for predictive maintenance at MathWorks. Rachel's pick this week is Industrial...

7 months ago

Answered

Run reinforcement learning Agent on raspberry

You won't want to compile the MEX file to run on the Pi because it requires MATLAB. Instead generate code and recompile it for ...

Run reinforcement learning Agent on raspberry

You won't want to compile the MEX file to run on the Pi because it requires MATLAB. Instead generate code and recompile it for ...

7 months ago | 0

| accepted

Published

Widgets Toolbox – MATLAB App Building Components

Sean's pick this week is Widgets Toolbox by Robyn Jackey. Contents ...

7 months ago

Answered

Is there a MATLAB package manager?

Right now there is no package manager like the ones you listed in that everything in MATLAB is tied to the path. Using MATLAB A...

Is there a MATLAB package manager?

Right now there is no package manager like the ones you listed in that everything in MATLAB is tied to the path. Using MATLAB A...

7 months ago | 0

| accepted

Answered

I need to run this python code in MATLAB. Can anyone guide me, please?

Why not use MATLAB's native MODBUS support? MODBUS Communication - MATLAB & Simulink (mathworks.com)

I need to run this python code in MATLAB. Can anyone guide me, please?

Why not use MATLAB's native MODBUS support? MODBUS Communication - MATLAB & Simulink (mathworks.com)

7 months ago | 0

Answered

ga optimization share variable between constraint and objective function to reduce computational time

All of your constraints are simple arithmetic. I think you could solve this much more quickly and effectively as a mixed intege...

ga optimization share variable between constraint and objective function to reduce computational time

All of your constraints are simple arithmetic. I think you could solve this much more quickly and effectively as a mixed intege...

8 months ago | 0

Published

Visualizing Earth and Celestial Bodies

Jiro's Pick this week is 3D Earth and Celestial Bodies (planet3D) by Tamas Kis.I'm not an expert in astronomy or space...

8 months ago

Published

Face Detection with Deep Learning

Brett's Pick this week is MTCNN Face Detection, by Justin Pinkney, a MathWorks colleague from our Consulting Department.We...

8 months ago

Answered

Matlab Forecast Report Example File

Hi Ian, You can email me at: char(matlab.net.base64decode("c2Rld29sc2tAbWF0aHdvcmtzLmNvbQ==")) and I'll get you the files.

Matlab Forecast Report Example File

Hi Ian, You can email me at: char(matlab.net.base64decode("c2Rld29sc2tAbWF0aHdvcmtzLmNvbQ==")) and I'll get you the files.

8 months ago | 1

| accepted