Answered
Is there an easy way to build a test suite from all tests in a folder containing multiple packages?
Have you considered adopting projects? I'd recommend it (for most things and especially for this use case) then you can just cr...

3 months ago | 0

Answered
How do i create a prototype pulse using zeros and ones?
This ought to do part 1: pulse = rem(ones(1,14).*(1:14),13)+zeros(1,14)>2

3 months ago | 0

Answered
First Col to Rep Date in Double Array
Use a timetable and stackedplot.

3 months ago | 0

Answered
Question: How to Read multiple CSV tables?
ds = datastore('sess*') % Manipulate properties of datastore as necessary (variable names, types, selected) T = readall(ds)

3 months ago | 1

Answered
Define start and end dates when selecting from file
Look at creating a timetable and then using timerange to index into it. doc timetable doc timerange

3 months ago | 0

Answered
date into double then back to date in loop
You should really look at creating a datetime and using its various properties and methods instead of datenum or datestr. Can y...

3 months ago | 0

| accepted

Published


Interpolation Utilities
Will‘s pick this week is Interpolation Utilities by Joe Henning. As most of you are probably aware, interpolation is the...

3 months ago

Thumbnail

Answered
How can I insert an image into MATLAB App Designer?
Yes, uiimage was added in a newer release, R2019a. Upgrading should be your best option but if it's not, you can add an axes an...

3 months ago | 0

| accepted

Answered
How to check MATLAB version and choose compatible functions?
Check out verLessThan.

3 months ago | 1

Answered
Undefined function or variable 'profile' in standalone application
It's not supported. What profile information do you want in your deployed application? https://www.mathworks.com/help/compiler...

3 months ago | 1

Published


Animating mathematical functions
Jiro‘s Pick this week is Plot Gui 2d by Silas Henderson.This entry is one of many interactive apps that Silas has created,...

4 months ago

Thumbnail

Answered
Find the number after a string
Something like this: s = string(fileread(your_file)) val = extractBetween(s, "Einstein A Coefficient (1/sec) :", newline) dou...

4 months ago | 0

| accepted

Published


Execute My MATLAB Algorithm in a Web Application
Greg’s pick this week is Generate JavaScript Using MATLAB Coder by Geoff McVittie. You are building a game where you want...

4 months ago

Thumbnail

Answered
How can we draw a customizable rectangular ROI on an axes using AppDesigner?
In 19b, this works on a uiaxes as well. drawrectangle(uiaxes)

4 months ago | 0

Answered
Standalone app output to windows cmd?
Call the app from the Windows Command line rather than from double-clicking the icon.

4 months ago | 0

Published


Minimal Bounding Box
Sean‘s pick this week is Minimal Bounding Box by Johannes Korsawe. I was recently asked by a customer “How can I replicate...

4 months ago

Thumbnail

Answered
Extracting values from file names to array
fn = ["file_234.txt" "file_356.txt" "file_567.txt" "file_987.txt"] double(extractBetween(fn, "_", "."))

4 months ago | 1

Published


Spider plots and more argument validation
Jiro‘s Pick this week is spider_plot by Moses.There are quite a few “spider plots” on the File Exchange, but this one by...

4 months ago

Thumbnail

Published


Programmatically adding data tips
Richard is Consulting Engineer at MathWorks focused on the Embedded Coder product for code generation, primarily in the...

5 months ago

Thumbnail

Published


Leaf Pile!
Sean‘s pick this week is leafpile by Nathaniel Barlow. As we’re finally starting to see cooler temperatures in New England,...

5 months ago

Thumbnail

Published


New with R2019b – Function Argument Validation
Jiro‘s Pick this week is Function Argument Validation, which is a new R2019b feature that I’m really excited about.If...

5 months ago

Thumbnail

Answered
MATLAB crash and i dont know why
You should send the report when this happens. It will create a tech support case for you if the workaround isn't already known....

5 months ago | 0

Answered
How to delete default excel sheets when using writetable function (mac)?
Starting in R2019b, specifying the sheet will cause "Sheet"+(1:3) to not be created. This is a new feature of 19b. writetable(...

5 months ago | 1

Answered
Add timetable with many months to another timetable with few months
Look at synchronize it does exactly this: tt = timetable(dateshift(datetime,'start','day'), 42, 'VariableNames',"Cars") tt2 = ...

5 months ago | 2

| accepted

Published


Tiled Layout
Sean‘s pick this week is tiledlayout by MathWorks’s development team. R2019b shipped on September 12th and is now available...

5 months ago

Thumbnail

Published


Winner of Machine Learning Hackathon
Jiro‘s Pick this week is Deep Learning Hackathon with Transfer Learning by Paola Jaramillo.Deep learning is becoming more...

6 months ago

Thumbnail

Published


How Old Do I Look?
Brett‘s Pick this week is Age and Gender Estimation from Face, by Masayuki Tanaka. Back in 2014, I “co-selected” one of...

6 months ago

Thumbnail

Answered
Is it possible to change PATH temporarily?
You really should look into using actual "Projects" in R2019a. They do exactly what you want. https://www.mathworks.com/help/r...

6 months ago | 0

| accepted

Answered
Duplicate points evaluated in Bayesian Optimization
You may want to look at the memoize function to cache the initial call so subsequent ones can just use the cached value. https:...

6 months ago | 0

Published


Polygon2Voxel
Sean‘s pick this week is polygon2voxel by Dirk-Jan Kroon. I was recently asked: “How can you find the intersecting volume...

6 months ago

Thumbnail

Load more