Answered
How to add Python Libraries which are referenced in a Python routine
Are you sure the python environment (specified by pyenv) is numpy aware?

3 meses ago | 0

Answered
How to convert image .mat back to the mlreportgen.dom.Image object?
You'll need to write the image back to disk as the report generator needs to deserialize it from this format into the report. If...

4 meses ago | 0

| accepted

Answered
Shrinking image by averaging
This works img = repmat(1:6,4,1) shrink = @(x)reshape(sum(reshape(sum(reshape(x,2,1,[])),size(x,1)/2,2,[]),2)./4,size(x,1)/2,[...

4 meses ago | 0

Answered
Appdesigner uitable and uistyle
capital S in addStyle :)

4 meses ago | 0

| accepted

Published


Simulink Keyboard Input v2
Will's pick this week is Simulink Keyboard Input v2 by Emanuele Ruffaldi. I have streamed data into Simulink models from...

4 meses ago

Thumbnail

Answered
Function 'daysact' not supported for code generation.
You should use the newer and recommended datetime / duration classes which support c-codegen: d = days(datetime(t1)-datetime(t2...

4 meses ago | 0

Published


Convert your live scripts to markdown file
Jiro's Pick this week is Live Script-to-Markdown by Michio, one of my colleagues in MathWorks Japan.As you know, File...

4 meses ago

Thumbnail

Published


2020 Index
...

5 meses ago

Thumbnail

Answered
Timer callback with alternating paths based upon which path was triggered before
You could use a simple persistent variable in your callback function to maintain state.

5 meses ago | 0

| accepted

Answered
Is this right?
-4 v -5?

5 meses ago | 0

| accepted

Published


Leaf Pile 3D
Sean's pick this week is leafpile3d by Nathaniel Barlow and the extended version with drag by Chris Verhoek. ...

5 meses ago

Thumbnail

Answered
Manipulating PowerPoint Custom Document Properties Using ActiveX
You should strongly consider using the MATLAB Report Generator to generate the presentations. It lets you use existing template...

5 meses ago | 0

Published


Aircraft Intuitive Design
Richard is a Consulting Engineer at MathWorks focused on the Embedded Coder product for code generation,...

5 meses ago

Thumbnail

Answered
Is there a script or app to convert many (>50) matlab figure files into powerpoint presentation??
You can do this pretty easily with the MATLAB Report Generator. Presentation Generator Development - MATLAB & Simulink (mathwor...

6 meses ago | 0

Answered
Sorting time in 1 hour time slots.
Look at retime. doc retime

6 meses ago | 0

Published


Emulating a physical experiment of measuring M&M’s
Jiro's Pick this week is M&M statistics by Lisa R. Thompson.A common challenge I hear from educators is how to conduct...

6 meses ago

Thumbnail

Answered
please help with work
v = ["Not Valid" "Valid"]; v(isvarname(input('enter variable name: ', 's'))+1)

6 meses ago | 1

| accepted

Answered
How to unit test several different functions that take the same input arguments efficiently?
Look into using TestParameters. You can use an array of function handles as the parameter values to traverse different function...

6 meses ago | 1

Answered
colon operator in compiled python package
You should call the MATLAB module with a numeric input rather than a list. This is the data type conversion table. Use numeric...

6 meses ago | 0

Answered
Enable/Disable uitabs in uitabgroup, with v2015b
In App designer this is possible by adding a panel inside the uitab and disabling the uipanel.

6 meses ago | 0

Answered
Marker Symbol 'I' in plot
This capability was added in 20b. https://www.mathworks.com/help/releases/R2020b/matlab/release-notes.html?category=graphics&rn...

6 meses ago | 1

Answered
Error in code.
It looks like you just copied someone's script that has the outputs as well as the code. You can't run the outputs.

6 meses ago | 1

Answered
How can I get all possible coordinate from implicit function ?
zz = acos(-(cos(-5:5)+cos((-5:5).'))) % Check norm(cos(-5:5) + cos((-5:5).') + cos(zz))

6 meses ago | 0

| accepted

Published


Avoid Overwriting Files!
Brett's Pick this week is Avoid file overwrite, by Simon Musall.ContentsA cautionary taleavoidOverwriteA cautionary taleSome...

7 meses ago

Thumbnail

Published


R2020b: pattern (new way to regular express)
Jiro's Pick this week is the new pattern matching capabilities that were added in the newest release, R2020b.I've always had...

7 meses ago

Thumbnail

Published


Simulink-to-Stateflow
Will's pick this week is Simulink-to-Stateflow by McSCert. Over the years, I've delivered dozens of talks on Stateflow, a...

8 meses ago

Thumbnail

Answered
Does inpolygon work for latitudes and longitudes on the surface of the earth?
You need to project lat/lon into x/y using an appropriate projection for the region you're focused on. Then inpolygon (or polys...

8 meses ago | 0

Published


R2020b: swarmchart
Jiro's Pick this week is swarmchart, a new visualization function in R2020b.Following Sean's post from last week, I'd like...

8 meses ago

Thumbnail

Published


R2020b
Sean's pick this week is MATLAB R2020b by MathWorks Development. Our fall 2020 release...

8 meses ago

Thumbnail

Load more