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 (2024). vars2base (, MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2006b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Find more on Workspace Variables and MAT-Files in Help Center and MATLAB Answers

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes