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

4 次查看(过去 30 天)
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???

采纳的回答

Honglei Chen
Honglei Chen 2016-11-21
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

更多回答(0 个)

Community Treasure Hunt

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

Start Hunting!

Translated by