organize File For Submission

Organize file and its dependency in a folder/subfolder way
Updated 9 Nov 2015

View License

You want to submit a file on FileExchange here in MATLAB, and then you remember your file has a lot of dependencies. You should copy and paste everything on a single folder, zip the folder, delete the useless folder and submit everything.
This function does everything for you. Just type
organizeFileForSubmission('myfile.m'). You'll find the zip file "" with, inside, the main function and the dependency functions in a subfolder, ready for the submission.
If you want you can specify a different name with a second argument,

Cite As

Valerio Biscione (2024). organize File For Submission (, MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2015b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Find more on File Operations in Help Center and MATLAB Answers

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes