Answered
I can not open spm12 with MATLAB
SPM12 is not a MathWorks product and so I don't have any experience with it, but based just on the error message and the URL of ...

2 years ago | 1

Answered
Run Section funcionality isn't working
In order to run MATLAB code in a code file, the name of that file must satisfy the requirements given by the isvarname function....

2 years ago | 1

| accepted

Answered
S-Function support for future releases
The Release Notes for Simulink Coder in release R2022b includes an entry that seems to be relevant to this question. The suggest...

2 years ago | 0

Answered
remove numbers of an matrix from another matrix
Call setdiff with the 'rows' input.

2 years ago | 0

Answered
How can one debug mex code called by fminsearch?
What happened after you handled the SIGSEGV and SIGBUS signals as described in the last section, "Debug MEX with JVM", on this d...

2 years ago | 0

Answered
my optimization toolbox does not open
If you're referring to optimtool, it was removed in release R2021a. For a graphical interface to the Optimization Toolbox functi...

2 years ago | 1

Answered
how change order color legend?
If you're using release R2023b or later, there's a new legend property introduced in R2023b that may be of interest to you. Chan...

2 years ago | 0

Answered
Moving skewness/kurtosis/rms/autocorrelation for time series. Fast Implementation.
Currently MATLAB does not have any functions for computing the moving skewness, kurtosis, rms, or autocorrelation. For a list of...

2 years ago | 0

Answered
How to take a value between two values
If you hover over the underlined <= operators in the code in the MATLAB Editor, you will see a Code Analyzer message explaining ...

2 years ago | 0

Answered
When is the official release for MATLAB for Silicon Macs?
It is currently: datetime('now', TimeZone="local", Format = "dd-MMM-yyyy hh:mm:ss a z") and the Release Notes indicate that re...

2 years ago | 0

Answered
lambr0 and zeta0 outputting 1x1 answer when I want them to output 1x7 answer, any suggestions?
In addition to using element-wise power (the .^ operator) and element-wise multiplication (the .* operator) you need to use the ...

2 years ago | 0

Answered
Matlab Service request and bug inaccessible
I don't see any outages listed on the Application Status page. When I tried connecting via Microsoft Edge I was able to access t...

2 years ago | 0

| accepted

Answered
standard deviation takes for ever
Can you confirm you're using the std function included in MATLAB? What does this command show? which -all std

2 years ago | 0

Answered
Convert the contents of C:\WINDOWSSYSTEM32\cmc into a text file and open in Matlab
I'm guessing your actual question is not about decompiling one of the executables included with Microsoft Windows into its sourc...

2 years ago | 1

Answered
transform exponential number to decimal
Use a different format specifier. The second column of your data doesn't contain integer values, so using %d for that column is ...

2 years ago | 1

Answered
how to get the correct plot of function sin(N+1)*pi*x^2/sin(pi*x)^2 with different N
To eliminate the effect of the floating point approximation to , try using sinpi instead of sin. % Define the value of N forma...

2 years ago | 1

Answered
Live script 'edit field' control option not available
The ability to add an edit field Live Editor Control was added in release R2019a. You will need to upgrade to that release or la...

2 years ago | 0

Answered
how to visualize histogram with Datatime on Axis
You can call histogram with datetime data as the data to be binned. Let's make some random data for the first half of today to u...

2 years ago | 0

Answered
How to load an object of class 'sym' in a .mat file
Do you have Symbolic Math Toolbox installed? If you don't, you won't be able to load sym objects created with the sym or syms fu...

2 years ago | 0

Answered
If statements vs conditions
Esim4=Esim4.*(Esim4>=0); % make sure the difference is never below zero I likely would just call the max function on Esim4 ins...

2 years ago | 0

Answered
How to obtain curve fitting tool startpoints using code? Replicate Curve Fitter Toolbox
Under certain circumstances (when the Method is NonlinearLeastSquares and you're using certain library models) MATLAB uses heuri...

2 years ago | 0

Answered
What is the difference between 'Property Get and Set Methods' and the 'set' function?
"If 'set(h, 'PropertyName', PropertyValue);' and 'h.PropertyName = PropertyValue;' are equivalent, then we don't really need the...

2 years ago | 1

Answered
'helperModClassGetNNFrames' is used in Modulation Classification with Deep Learning. Error in Project_1 (line 41) unknownFrames = helperModClassGetNNFrames(rx);
This function is a helper function used and defined by the example. It is not a general toolbox function that is on the MATLAB s...

2 years ago | 0

Answered
How to build a structure that is easier to work with (i.e. for looping through and adding to)
I'd probably store this either as a timetable (with the date and time data stored as the RowTimes, and as many data variables as...

2 years ago | 0

Answered
Timer Callback Input Not Updated When Changed
The timer outputs the initial message correctly but when the variable message changes further down the code, the timer keeps pri...

2 years ago | 2

| accepted

Answered
Matalab on VDI environment
Please send this licensing question to Customer Service directly as a Service Request using this link.

2 years ago | 0

Answered
Needing 'clear all' type function, except a few variables. clearvars -except isn't aggressive enough
From your description I'm guessing the third party toolkit is written using a lot of script files rather than functions or class...

2 years ago | 0

Answered
How can I access the properties of A class in B class without creating objects?
Therefore, is there a way to get the properties ‘Prop1’ of PropertyAccess in ClassA without creating objects If Prop1 were a Co...

2 years ago | 2

| accepted

Answered
How can I turn off fminsearch's exiting complaints?
Creating an options structure alone is not sufficient to make fminsearch use the modified value of the Display option. It doesn'...

2 years ago | 0

Answered
Calling a function in itself.
It is possible to recursively call a function in MATLAB (within reason, there is a recursion limit in MATLAB to try to prevent y...

2 years ago | 1

Load more