newname(oldname)

One-liner function to rename an object
92 descargas
Actualizado 29 jul 2015

Ver licencia

Rename a variable & delete the old name. Essentially this is a shorter-keystroke version of "a=b;clear(b)" .
Be warned that this function messes with the calling environment, a programming practice frowned upon by many.

Citar como

Carl Witthoft (2024). newname(oldname) (https://www.mathworks.com/matlabcentral/fileexchange/52332-newname-oldname), MATLAB Central File Exchange. Recuperado .

Compatibilidad con la versión de MATLAB
Se creó con R2012b
Compatible con cualquier versión
Compatibilidad con las plataformas
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!
Versión Publicado Notas de la versión
1.0.0.0