MATLAB: Rename function Matlab 2018b

renamerename function

Is there a rename function for Matlab 2018b? I have an old code line that won't run under this version of Matlab; The error message am getting is: Undefined function 'rename' for input arguments of type 'double'.
Error in adcp2ep (line 580)
Line 580:
%RENAME A FEW
pulse = G.transmit_pulse_length;
rename(pulse,'transmit_pulse_length_cm');
Which other function may I use to replace the rename function??
Cheers,
Felipe

Best Answer

Thanks a lot!