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

1 Ansicht (letzte 30 Tage)
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???

Akzeptierte Antwort

Honglei Chen
Honglei Chen am 21 Nov. 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

Weitere Antworten (0)

Community Treasure Hunt

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

Start Hunting!

Translated by