Exports

A simple way to export local functions to the MATLAB base workspace

You are now following this Submission

The exports() function carries local function handles from the current context (scripts or functions, including nested functions) to the MATLAB base workspace, so that these functions are callable from within another file or from the command window, which can be especially useful for debugging purposes (e.g., unit tests).

Cite As

Mauro DiNuzzo (2026). Exports (https://www.mathworks.com/matlabcentral/fileexchange/181583-exports), MATLAB Central File Exchange. Retrieved .

Tags

Add Tags

Add the first tag.

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

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