AssignBase

Copies all variables into the base workspace for debugging

You are now following this Submission

% 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 (2026). AssignBase (https://se.mathworks.com/matlabcentral/fileexchange/34571-assignbase), MATLAB Central File Exchange. Retrieved .

Categories

Find more on Debugging and Improving Code in Help Center and MATLAB Answers

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.0.0