what does this error mean?

1 view (last 30 days)
"Array formation and parentheses-style indexing with objects of class 'phased.RootMUSICEstimator' is not allowed. Use objects of class 'phased.RootMUSICEstimator' only as scalars or use a cell array." I get this error when try to estimate DOA with MUSIC algorithm.
rootmusicangle = phased.RootMUSICEstimator('SensorArray',ula,...
'OperatingFrequency',fc,...
'NumSignalsSource','Property','NumSignals',2);
Thanks in advance

Accepted Answer

Walter Roberson
Walter Roberson on 31 Jul 2017
Somehow, phased.RootMUSICEstimator has stopped being a constructor that takes options, and has become a particular phased.RootMUSICEstimator object, and it thinks the 'SensorArray',ula and so on are indices into an array of such objects.
Perhaps at some point there has been a
phased.RootMUSICEstimator = .... something
call ?
  1 Comment
Walter Roberson
Walter Roberson on 31 Jul 2017
Sorry, my system is occupied with a long-running task; I cannot test at the moment.

Sign in to comment.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!