Exports
Version 1.0.0 (3.35 KB) by
Mauro DiNuzzo
A simple way to export local functions to the MATLAB base workspace
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 LinuxTags
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 |
