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 个评论

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.

请先登录,再进行评论。

更多回答(0 个)

类别

帮助中心File Exchange 中查找有关 App Building 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by