What is the difference between clear and clearvars?

6 次查看(过去 30 天)
What is the difference between clear and clearvars?

采纳的回答

Adam
Adam 2017-3-3
编辑:Adam 2017-3-3
In those simplest forms I don't think there is any difference. Both have extended arguments though that make them different, especially clear which obviously also extends to clearing cached functions, mex functions and other stuff.

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Workspace Variables and MAT-Files 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by