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

조회 수: 1 (최근 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개)

카테고리

Help CenterFile Exchange에서 Array Geometries and Analysis에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by