Error on openExampl​e('radar/S​earchAndTr​ackSchedul​ingForMPAR​Example')

2 views (last 30 days)
Hello, I am getting an error running one of the example radar matlab scripts.
I have not made any changes to the files at all. Here is the output:
Error using radarTransceiver/processInputSpecificationChangeImpl
Changing the size, data type or complexity (from real to complex) on inputs is not allowed without first calling the release()
method.
Error in generateEchos (line 13)
xr1 = mfradar.Radar(targetPoses(env.RadarPlatform),(m-1)/mfradar.Wav.PRF,conj(w));
Error in SearchAndTrackSchedulingForMPARExample (line 366)
[xsum,xdaz,xdel,mfradar] = generateEchos(mfradar,env,current_job);
Can anyone offer any pointers? I have tried releasing the Radarplatform via release(mfradar.Radar) and release(mfradar.STV) and that did not work.
Thank you.

Answers (1)

Varun
Varun on 19 Apr 2023
Hello,
These errors are already being investigated by our team and will be fixed in the upcoming updates of MATLAB. Meanwhile, as a workaround, please replace the generateEchos.m file in the example with the copy attached. That should solve the issue at your end.
Hope this helps!

Categories

Find more on Environment and Clutter in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!