AssignBase
Version 1.0.0.0 (1.36 KB) by
Dan K
Copies all variables into the base workspace for debugging
% assignBase - Assigns all variables in the caller to equally named variables in
% the base workspace. Only operates in non-compiled code. This function is primarily useful for using
% cell mode for debugging functions where the variable states are flushed upon termination. Especially
% effective when combined with dbstop if error
Cite As
Dan K (2025). AssignBase (https://www.mathworks.com/matlabcentral/fileexchange/34571-assignbase), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2011b
Compatible with any release
Platform Compatibility
Windows macOS LinuxCategories
Find more on Debugging and Analysis in Help Center and MATLAB Answers
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Version | Published | Release Notes | |
---|---|---|---|
1.0.0.0 |