How do i clear all except one variable?

368 次查看(过去 30 天)
I want to clear all variables except one
entering all variable to be cleared is a lengthy process, has many variables and function

采纳的回答

Walter Roberson
Walter Roberson 2018-12-18
clearvars -except NAME

更多回答(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