Answered
How can the code tell if a single test is running instead of the whole test class?
Having the tests needing to know about how they are running is backwards. The tests should always do the same thing - test the ...

4 months ago | 0

Published


File Exchange Select – Inpaint_Nans, Gridfit, and fminsearchbnd/fminsearchcon
Sean's pick this week are the "File Exchange Select" files: inpaint_nans, fminsearchbnd-fminsearchcon, and...

4 months ago

Thumbnail

Answered
How to create a 3D non convex surface (helical ribbon) with a set of points?
You could consider alphaShape. I'm not sure how it will handle the ribbon aspects though.

4 months ago | 0

Published


Changing figure settings
Jiro's Pick this week is SetFigPaper by jmrplens.Many of you may know export_fig by Yair (originally created by Oliver...

4 months ago

Thumbnail

Answered
How to run google earth using MATLAB commands?
Do you want to open Google Earth or write files that can be consumed by it? Look at kmlwrite for writing files to be shown in i...

4 months ago | 0

Answered
Matlab can't be used for anything else while my code is running. How to fix?
For that application, use a timer.

4 months ago | 0

Answered
How can i take a property names in cell array of char vectors without using property function?
Why do you need to the property list in the C/C++ code? You could always just store it manually which would also let you contro...

4 months ago | 0

Answered
Add space and style to sliced table - MATLAB Report Generator
You're appending the same paragraph multiple times. It can only be appended once. Clone it first append(d,clone(p))

4 months ago | 0

Answered
Cumulative sum of last n entries of column vectors
Read saved table T = readtable('data.txt'); head(T) ans = C A CA _____ _ __ {'A'} 1 1...

4 months ago | 1

| accepted

Answered
Appdesigner apps won't run
Sounds like you may have corrupted: appdesigner.internal.service.AppManagementService. Probably worth contacting tech support. ...

4 months ago | 0

Answered
How to color/shade a sector of a polar plot with customized axis?
Use a polarhistogram and a polarplot (these are newer replacements for polar). This should give you the flexibility you want.

5 months ago | 0

| accepted

Published


MATLAB R2020a
Sean's pick this week is MATLAB R2020a by MathWorks' Development. Contents ...

5 months ago

Thumbnail

Published


Ridgeline Visualization
Jiro's Pick this week is joyPlot by Santiago Benito.I must admit that I was simply drawn by the visualization, rather than...

5 months ago

Thumbnail

Answered
Unit tests fail on "even" runs, but pass on "odd" runs (alternating pass/fail)
You should convert your code files and tests into a MATLAB Project which manages the path for you. Then as long as the project ...

5 months ago | 0

Answered
How to partition (discretize) the space around points using Voronoi Diagram?
Create a polyshape for each voronoi cell. Loop over cells and test isinterior for each, you can short circuit when you find a ...

5 months ago | 1

| accepted

Submitted


Figure Deployer
Deploy figures to images or byte streams.

5 months ago | 3 downloads |

Thumbnail

Answered
how i can known the active tab in a tabgroup component in the appdessigner tool?
What do you mean this "doesn't work"? app.nameTabGroup.Selectedtab Is the right way to do this so somewhere your logic or cod...

5 months ago | 0

| accepted

Answered
find handle to uialert/uiconfirm windows/boxes
I don't think it's possible to get a handle to and do what you're asking. That being said, I question the usability of an app t...

5 months ago | 1

Answered
Error using matlab.codetools.requiredFilesAndProducts (line 91)
Please contact technical support. At the very least this is a bug because available has a typo in it.

5 months ago | 0

Published


A nod to our developers, and a game of Minesweeper
Before he Picks this Week's featured File Exchange submission, Brett would like to give a nod of appreciation to the...

5 months ago

Thumbnail

Answered
I have a plot and i want to switch it to histogram ,how i can do it?
Something like this histogram(mat,edges,'Normalization','probability');

5 months ago | 0

Answered
global legend in tiledlayout
Look at sgtitle which does exactly this. doc sgtitle

5 months ago | 1

Answered
In Deep Learning Toolbox, what input layer should I use for simple dataframe-type input?
I don't think deep learning is the right approach if your input data has two points. Consider using a standard machine learning...

5 months ago | 0

Answered
How to get multiple class instances in function?
a.myfunc(b) % or myfunc(a, b) When you call a.function it passes a as the first input so right now you're doing the equivalen...

5 months ago | 1

| accepted

Published


COVID-19 Research and Development with MATLAB and Simulink
COVID-19 Research and Development Sean's pick this week is COVID-19 Research and Development by MathWorks. ...

5 months ago

Thumbnail

Answered
Best Practice for Defining Large Constant Array in Function (Must Code-generate)
Look at using System Objects and the MATLAB System block in Simulink. These are optimized for streaming workflows and code gene...

5 months ago | 0

Answered
Select edges that connect subgraphs together
This works for your sample data set (which does not include nodes 12:14 as shown in the plot. Please test test this, I'm not a ...

5 months ago | 0

| accepted

Answered
exist() absolute vs relative path
If you're on a newer release, consider using isfile(). https://www.mathworks.com/help/matlab/ref/isfile.html

5 months ago | 0

Answered
Hiding only a section of code in live script.
Put the code you don't want displayed in a separate function that's called from the main live script.

5 months ago | 0

Load more