在MATLAB中,可以为内置函数分配一个变量值plot = 5.从那时起,该功能plot()将无法使用.plot(x),对于变量x,将给出编译错误.找回功能,我们只需要删除该变量plot使用clear plot.
plot = 5
plot()
plot(x)
x
plot
clear plot
clear 是通常用于取回内置函数的命令.
clear
我的问题是,如果我们为函数赋值(标量或矩阵)clear,我们如何取回函数clear?
clear clear显然不会有效.除了关闭并重新启动MATLAB之外,我想不出能够恢复功能的方法.
clear clear
matlab clear
clear ×1
matlab ×1