when i am running the line of sensor motion in matlab i see an error in the command window can anyone solve it

5 visualizaciones (últimos 30 días)
Array formation and parentheses-style indexing with objects of class 'phased.Platform' is not allowed. Use objects of class 'phased.Platform' only as scalars or use a cell array.
Error in radar (line 73) [sensorpos,sensorvel] = sensormotion(1/prf); how it can be solved???

Respuesta aceptada

Honglei Chen
Honglei Chen el 21 de Nov. de 2016
I'm assuming this is a follow up for
In the future, you may want to consider updating that question so all information are captured in one place.
The syntax you mentioned above is a new way to invoke the object that is introduced in R2016b. If you are in 2013a, try
[sensorpos,sensorvel] = step(sensormotion,1/prf);
and see if solves the problem.
HTH

Más respuestas (0)

Etiquetas

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by