Clear just base workspace

12 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)

Community Treasure Hunt

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

Start Hunting!

Translated by