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

2 vues (au cours des 30 derniers jours)
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???

Réponse acceptée

Honglei Chen
Honglei Chen le 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

Plus de réponses (0)

Community Treasure Hunt

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

Start Hunting!

Translated by