Answered
How execute a jar generated with Compiler SDK from windows prompt.
I'd strongly recommend that you create a "sample" with the Compiler SDK. Then the output will contain a getting started guide w...

6 months ago | 0

Answered
Is the LiveScript Editor Connected to the Base Workspace?
The red pause button is any execution, not just execution from the live editor.

6 months ago | 0

Answered
Error when executing MATLAB app methods via parfeval and BackgroundWorker pool.
MainFunc should be an external function you call and not an app class method. The app can update itself with the results of the...

6 months ago | 1

| accepted

Answered
creating a PDF report using simulation results.
I'd strongly encourage you to look at the report generator task examples and specifically the tables section. https://www.mathw...

7 months ago | 0

Answered
Remove the Last Entry of Many Fields of a Structure
data.test1=1:10; data.test2=3:12; data.test3=2:11; data.test4=1:10; data.test5=2:10; data.test6=4:12; data.test7=5:13; n ...

7 months ago | 0

Answered
How to find pythagorean triangle's hypotenuse in a matrix?
This will be the most numrically stable. a = [5 8 12 3; 8 12 63 20; 9 84 144 20; 24 11 15 180]; b = [12 6 5 4; 15 35 16 21; 40...

7 months ago | 2

Answered
Use icons of different shapes for push button in AppDesigner
You could use a uiimage instead. Then set it's ImageClickedFcn instead of ButtonPushedFcn callback.

7 months ago | 0

Answered
(Need Help) nlmpc (nonlinear model predictive control) in Simulink for code generation
The command from MATLAB you'll want to use is nlmpcmoveCodeGeneration Compute nonlinear MPC control moves with code generation...

7 months ago | 0

| accepted

Answered
How to parse file name text and save values to variables
Look at various combinations of the following functions split contains matches extractBetween, extractBefore, extractAfter

7 months ago | 0

Answered
Modify attributes of inherited property
You could instead author your own class that passes through to a mechss object it stores as a private property. Then you can ca...

7 months ago | 1

Answered
With 2021b's New Python Functionality, is there a way to view an interpreter's output?
>> pyrunfile('foo.py') % saving as foo.py, changing folder, and commenting broken on_moved Modified Item C:\Documents\MATLAB\Sc...

7 months ago | 0

Answered
empty array size is stuck on 1x3
You may want to look at gpxread. Read GPX file - MATLAB gpxread (mathworks.com)

7 months ago | 0

Answered
Fill background pixels with the value of the nearest foreground pixel
Hi Matt, The second output from bwdist is the index of the closest pixel. I think this is all you need to then index back. [~...

8 months ago | 0

| accepted

Answered
How to activate bubble chart
Bubblechart was added to core MATLAB in R2020b. You'll need to upgrade to this release or find a variant on the file exchange.

8 months ago | 1

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

8 months ago | 3

Answered
Adding bulleted list to PowerPoint using MATLAB Report Generator
The template should not be a pptx file but a potx file.

8 months ago | 0

Answered
Convert String to numbers
s = ["0001" "0002"] n = double(s)

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

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

9 months ago | 0

| accepted

Answered
removing an entire row
grace = s(s(:,3)~="fred",:)

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

9 months ago | 0

Answered
How to implement an API REST POST in Matlab
Look at either: weboptions('RequestMethod','post') or doc webwrite

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

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

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

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

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

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

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

10 months ago | 0

Load more