Clear just base workspace

11 views (last 30 days)
Frank
Frank on 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.

Accepted Answer

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

More Answers (0)

Community Treasure Hunt

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

Start Hunting!