MATLAB: I am facing this problem (Undefined function or variable ‘helperarrayinfo’.)

Phased Array System Toolboxundefined function or variable 'helperarrayinfo'

prm.cLight = physconst('LightSpeed');
prm.lambda = prm.cLight/prm.fc;
% Get transmit and receive array information
[isTxURA,expFactorTx,isRxURA,expFactorRx] = helperarrayinfo(prm,true);
% Transmit antenna array definition
% Array locations and angles
prm.posTx = [0;0;0];
% BS/Transmit array position, [x;y;z], meters
if isTxURA
% Uniform Rectangular array
txarray = phased.PartitionedArray(...
'Array',phased.URA([expFactorTx numSTS],0.5*prm.lambda),...
'SubarraySelection',ones(numSTS,numTx),'SubarraySteering','Custom');
else
% Uniform Linear array
txarray = phased.ULA(numTx, 'ElementSpacing',0.5*prm.lambda, ...
'Element',phased.IsotropicAntennaElement('BackBaffled',false));
end
Related Question