Answered
Create Text Box in PowerPoint file
All you have to do is set X/Y/Width/Height properties of the TextBox presentation element. See this example that does exactly w...

8 månader ago | 0

Published


2021 in Review
We're on to 2022! Pick of The Week IndexConvert your live scripts to markdown filemichioThe provided function converts...

9 månader ago

Thumbnail

Answered
Call a MATLAB function from .NET program
https://www.mathworks.com/help/releases/R2021b/matlab/matlab_external/call-matlab-function-from-c-client.html

9 månader ago | 0

Answered
Generating an STL of a paraboloid surface made out of hexagons
1) yes 2) Look at stlwrite and triangulation.

9 månader ago | 1

Answered
surf indices reversed?
I think you're seeing the difference between meshgrid and ndgrid. Meshgrid is used for plotting, ndgrid for matrix/tensor work ...

9 månader ago | 1

Published


20th Anniversary – Most Active FEX Entries
Jiro's picks this week are the following 4 entries:Systemic Risk by Tommaso BelluzzofitVirusCOVID19 by milan...

9 månader ago

Thumbnail

Answered
Sending input() from Python API
This works if you start the MATLAB engine with the desktop: import matlab.engine eng = matlab.engine.start_matlab('-desktop'...

9 månader ago | 0

Answered
How can I iterate across the opposite diagonal?
full(flip(gallery('tridiag', 8, 4, 6, 4), 2))

10 månader ago | 0

Answered
How Can I create a function as a string
function grade=mygrade(grade) arguments grade(1,1) string = input('Write the grade:';'s') end grade = lo...

10 månader ago | 0

Answered
how to change back to the right base for answers?
Or just call format short

10 månader ago | 0

Answered
Run Python script with numpy and pandas in Matlab
The python that MATLAB is calling apparently does not have numpy installed properly. Check your system path for the version of ...

10 månader ago | 0

Answered
Will there ever be a dark mode version of MATLAB?
Yes.

10 månader ago | 2

Answered
How can I solve x^4-1=0
x = 1

10 månader ago | 0

Answered
Python Matlab engine - Cannot read simulink output
Extract the simout to a timetable, then pass the timetable back to python either via writing to disk as a CSV, or converting to ...

10 månader ago | 0

Published


Meteomatics Weather API Connector
Will's pick this week is Meteomatics Weather API Connector by Martin Fengler. Martin is the CEO of Meteomatics, a...

10 månader ago

Thumbnail

Answered
Convert Python list Type to MATLAB double
q = py.list({1,2,3}) cq = cell(q) [cq{:}]

10 månader ago | 0

Answered
Display image using HTML within app designer does not work
One way to do this is to explicitly base64 encode the image data. Here's an example for PNG file, you'd have to change the HTML...

10 månader ago | 0

| accepted

Answered
Create table in a for loop with text
Confused as to why you're using excel ranges with csv input. Either way, this should be doable in one shot with readall(datasto...

11 månader ago | 0

Answered
Integration using Cumtrapz backwards instead of forwards
Easy solution is to just flip everything L_dist =[10 9 8 7 6 5 4 3 2 1 0]; locations=[0 1 2 3 4 5 6 7 8 9 10]; shear.z = fl...

11 månader ago | 0

| accepted

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

11 månader 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.

11 månader 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...

11 månader 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...

11 månader 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 ...

11 månader 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...

11 månader 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.

11 månader 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...

11 månader 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

11 månader ago | 0

Published


Electric Machines and Power Virtual Labs
Jiro's Pick this week is Electrical Engineering Virtual Electric Machine & Power Labs by Douglas Jusssaume. Whether it...

11 månader ago

Thumbnail

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

11 månader ago | 1

Load more