Clear just base workspace

20 visualizzazioni (ultimi 30 giorni)
Frank
Frank il 2 Gen 2012
Hi,
I am executing a function that fills the base workspace. How can I clear the base workspace / stack without clearing the function workspace?
Cheers, Frank.

Risposta accettata

Walter Roberson
Walter Roberson il 2 Gen 2012
evalin('base','clear')

Più risposte (0)

Categorie

Scopri di più su Get Started with MATLAB 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