Exports

A simple way to export local functions to the MATLAB base workspace
1 Download
Updated 24 Jul 2025

View License

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 .

MATLAB Release Compatibility
Created with R2025a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Tags Add Tags
Version Published Release Notes
1.0.0