newname(oldname)

版本 1.0.0.0 (585 字节) 作者: Carl Witthoft
One-liner function to rename an object
92.0 次下载
更新时间 2015/7/29

查看许可证

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.

引用格式

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

MATLAB 版本兼容性
创建方式 R2012b
兼容任何版本
平台兼容性
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!
版本 已发布 发行说明
1.0.0.0