Answered
'ValidationData' is not a recognized parameter. For a list of valid name-value pair arguments, see the documentation for this function.
It looks like it was added in 17b; <https://www.mathworks.com/help/releases/R2018a/nnet/release-notes.html release notes>. If y...

7 years ago | 0

Answered
App Designer With a Toolbox
Application Compiler to build a standalone executable - yes. App Packaging tool for packaging apps that install and run in MA...

7 years ago | 1

| accepted

Answered
How to produce Documentation for my appdesigner app?
<https://www.mathworks.com/help/releases/R2018a/matlab/matlab_prog/display-custom-documentation.html>

7 years ago | 0

| accepted

Answered
How do I read data from a filename called in code or make the filename a string?
If you're on a newer release, just blindly call string() on the output which will convert either a char or cellstr to string. Y...

7 years ago | 0

Answered
Create a function to find elapsed time with string of date and times through samples?
Please please please use datetimes. Then you can just subtract them (and they account for timezones, dst, leap seconds if you w...

7 years ago | 0

| accepted

Answered
From ImageJ to Matlab Conversion
Looks like imtranslate should work. My interpretation of that is: loop over slices, translate each slice by some amount (that v...

7 years ago | 0

Answered
Is there anything that can do the reverse of Embedded Coder?
Not a Simulink model, but a Simulink block. <https://www.mathworks.com/help/simulink/slref/legacy_code.html>

7 years ago | 1

Answered
Is there a way to view/access all instances of a property?
Rather than a, b, and c.; create a 3x1 object array a(1).name = 2 a(2).name = 3 a(3).name = 4 Then just {a.name}

7 years ago | 0

| accepted

Answered
How to center a figure in live script output
What if you adjust the live editor to have figures inline? Button on right hand side of editor.

7 years ago | 0

Answered
(2018a) Implicit Call to Inherited Constructor is not available when used in a package
I had to do this for an application I worked on where I wanted to have an unknown number of models in a package and to be able t...

7 years ago | 0

Answered
Why do I get an error from using actxserver('PowerPoint.Application')?
You may want to consider looking into MATLAB Report Generator which can generate PPT without even needing powerpoint or being on...

7 years ago | 0

Answered
Activating a UIControl element programmatically
You should really consider using <https://www.mathworks.com/products/matlab/app-designer.html |appdesigner|>. Not only is there...

7 years ago | 0

Answered
how to read *.m4a sound files
Look into |audioread|

7 years ago | 1

Answered
How can I insert a figure into a report?
You can't append a high level "report" element ( |mlreportgen.report.Figure|) to a low level "dom" element ( |mlreportgen.dom.Do...

7 years ago | 0

| accepted

Answered
How to produce a series of strings?
string(('A':'E')')+(1:5)

7 years ago | 0

| accepted

Answered
How can I count how many rows in a table have the same date?
convert table to timetable |table2timetable|. |retime| the timetable with |count| as the function

7 years ago | 2

Answered
Transform into a Matlab datetime format
datetime("2017-10-26 06-PM",'InputFormat','yyyy-MM-dd hh-aa') doc: <https://www.mathworks.com/help/releases/R2018a/matlab/r...

7 years ago | 0

| accepted

Answered
In the Cody Coursework platform, there is a built in function called assessVariableEqual. How can I adjust the tolerance of this function?
You can provide an absolute or relative tolerance here: <https://www.mathworks.com/help/coursework/ug/assessvariableequal.html#n...

7 years ago | 0

Answered
How to concatenate a branched Simulink signal?
Data type conversion block?

7 years ago | 0

Answered
How can I stop MATLAB from automatically timing out?
You could borrow the licenses from the server. <https://www.mathworks.com/help/install/license/borrow-licenses.html>

7 years ago | 0

Answered
How do I display my output in the edit field in AppDesigner?
Put a break point on the line you expect to set and see if: that line gets hit, and if the variables are what you expect. Break...

7 years ago | 0

Answered
How to retrieve missing Property Inspector
View menu -> Property Inspector? If that doesn't work, contact Tech Support(!)

7 years ago | 0

Answered
How to reorder a matlab table based on a portion of variables name
Doing it manually, T = array2table(1:4,'VariableNames', {'America_1010', 'America_1008', 'America_1001', 'America_1808'}) %...

7 years ago | 1

| accepted

Answered
How to make an application that uses data files as resource
doc setpref doc getpref

7 years ago | 0

| accepted

Answered
Programmatically select a specific object when switching on plotedit
Are you perhaps looking for |inspect|? inspect(axes) Note, this has gotten a lot better in 18a.

7 years ago | 0

Answered
How to create a loop that runs a function on subfolders in a directory.
<https://www.mathworks.com/help/releases/R2018a/images/ref/imagebatchprocessor-app.html>

7 years ago | 0

Answered
Instead of ga, what else can I use to solve nonlinear optimization problem with integer constraints?
Sometimes: |patternsearch()| and |round()|

8 years ago | 1

Answered
Is it possible to display a plot from matlab directicly in app designer tab ( not in a dialog box) ?
Add an Axes in app designer and pass its handle into the plotting routine your using. plot(app.UIAxes, rand(1,10))

8 years ago | 1

Answered
How to send images to a Matlab API
You should look into the REST API in the MATLAB Production Server <https://www.mathworks.com/products/matlab-production-serve...

8 years ago | 0

Answered
how to run two matlab scripts in parallel?
Just call |batch| directly or right-click on the script in the current folder browser and select "Run as batch job"

8 years ago | 0

Load more