Unable to resolve the name phased.internal
Show older comments
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);
Accepted Answer
More Answers (1)
Walter Roberson
on 12 Jun 2021
Edited: Walter Roberson
on 12 Jun 2021
1 vote
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 Comments
Khue Ha
on 12 Jun 2021
Walter Roberson
on 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
on 13 Jun 2021
Categories
Find more on Radar and EW Systems 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!