MATLAB Answers


Control and Estimation Tools Manager

Asked by Dave
on 2 Jun 2012

Need help in parameter estimation. My parameter estimation runs well without the time input, but when I put in the time input and start the estimation, it gives error "The value of the "Value" property must be a real-valued double array". What does this mean?


1 Answer

Answer by Arkadiy Turevskiy
on 5 Jun 2012
 Accepted answer

I am not sure what exactly is causing the confusion, so I apologize in advance if something I write is already obvious.

First off, have you gone through this section of the doc? It shows hot to bring in time data into the tool.

Now, to address all the words in "real-valued double array".

As the screenshots show this data has to be an array of data type double (as opposed to single, int16, int32, uint64 or any other data type MATLAB supports).

Again, at the risk of stating the obvious, array means it has to be an array as opposed to other data type (structure, for example).

Finally, real-valued means that you cannot have any complex numbers in this array.

So, how do you figure out what is causing the problem: look at your variable that you are trying to enter as time vector in the Workspace. If it is an array of real-valued doubles, the words in the "value" column will say something like double.




Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi test

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

MATLAB Academy

New to MATLAB?

Learn MATLAB today!