Clear just base workspace

21 Ansichten (letzte 30 Tage)
Frank
Frank am 2 Jan. 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.

Akzeptierte Antwort

Walter Roberson
Walter Roberson am 2 Jan. 2012
evalin('base','clear')

Weitere Antworten (0)

Kategorien

Mehr zu Get Started with MATLAB finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by