How do i clear all except one variable?

679 visualizzazioni (ultimi 30 giorni)
I want to clear all variables except one
entering all variable to be cleared is a lengthy process, has many variables and function

Risposta accettata

Walter Roberson
Walter Roberson il 18 Dic 2018
clearvars -except NAME

Più risposte (0)

Categorie

Scopri di più su Workspace Variables and MAT Files in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by