Rename function Matlab 2018b

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

2 Comments

There are three rename functions in the online documentation:
rename (FTP server files)
rename (Simulink)
rename (SimBiology)
So the function depends on the context and the arguments.
Choose one.
Adam Danz
Adam Danz on 13 Dec 2019
Edited: Adam Danz on 13 Dec 2019

Sign in to comment.

 Accepted Answer

More Answers (0)

Categories

Find more on App Building 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!