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 (2025). Exports (https://uk.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

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes
1.0.0