Unable to resolve the name phased.internal

29 Ansichten (letzte 30 Tage)
Khue Ha
Khue Ha am 12 Jun. 2021
Kommentiert: Khue Ha am 13 Jun. 2021
I am currently using the Matlab version R2021a and I am trying to run the "Pedestrian and Bicyclist Classification Using Deep Learning" example from Matlab. An error was raised at line 287 of backscatterPedestrian.m file ("Unable to resolve the name phased.internal.getHumanBodyParts."). I have tried to find some document about internal attribute but I cannot find anything related.
This is exactly what i see when i try to excute the example file:
Unable to resolve the name phased.internal.getHumanBodyParts.
Error in backscatterPedestrian (line 287)
[obj.pBodyPartsJointsInitialPosition,~] =
phased.internal.getHumanBodyParts(obj.Height);
Error in helperBackScatterSignals (line 63)
pedestrian = backscatterPedestrian('InitialPosition',ped_pos,...
Error in test_udoppler (line 4)
[xPedRec,xBicRec,xCarRec,Tsamp] = helperBackScatterSignals(numPed,numBic,numCar);

Akzeptierte Antwort

Steven Lord
Steven Lord am 13 Jun. 2021
See Bug Report 2470530. Apply the workaround given in that bug report or fix it by installing release R2021a Update 2 if possible.

Weitere Antworten (1)

Walter Roberson
Walter Roberson am 12 Jun. 2021
Bearbeitet: Walter Roberson am 12 Jun. 2021
internal is not an attribute . internal is just part of the name. MATLAB uses internal as part of names to indicate that the functions are not intended to be directly called by the user. A lot of the time, items marked internal are either coded as "built in" (that is, implemented in C or C++ or Fortran), or else coded as .p files.
phased.internal.* is part of the implementation files for the Phased Array Toolbox, and the example would probably fail at that point if you do not have that toolbox installed and licensed,
  3 Kommentare
Walter Roberson
Walter Roberson am 12 Jun. 2021
Your error message is about line 287 in backscatterPedestrian where it calls pahsed.internal.getHumanBodyParts . But when I check in R2021a (update 3), I see that line 287 is about releasing an object, and the closest to that call is line 272
[obj.pBodyPartsJointsInitialPosition,~] = radar.internal.getHumanBodyParts(obj.Height);
Notice the reference to radar not phased
I suspect that somehow you do not have the correct R2021a version of that example or the implementing files.
It might be worth reinstalling Phased Array Toolbox and Radar Toolbox
Khue Ha
Khue Ha am 13 Jun. 2021
Dear Roberson,
Thank you for your support, I have solved the problem by remove backscatterPedestrian.m file in the example folder like Steven mentioned above.

Melden Sie sich an, um zu kommentieren.

Community Treasure Hunt

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

Start Hunting!

Translated by