version (1.51 KB) by Chris Cannell
Copy current workspace variables to the base workspace


Updated 13 Feb 2007

View License

Copies all variables in the current workspace to the base workspace. VARS2BASE is useful if you want variables from inside a function to be accessible from the base workspace.

Cite As

Chris Cannell (2022). vars2base (, MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2006b
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!