newname(oldname)

Version 1.0.0.0 (585 Bytes) von Carl Witthoft
One-liner function to rename an object
92 Downloads
Aktualisiert 29 Jul 2015

Lizenz anzeigen

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.

Zitieren als

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

Kompatibilität der MATLAB-Version
Erstellt mit R2012b
Kompatibel mit allen Versionen
Plattform-Kompatibilität
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!
Version Veröffentlicht Versionshinweise
1.0.0.0