To package and share project files, you can create a MATLAB® toolbox from your project.
With a project loaded, on the Project tab, select Share > Toolbox.
The packager adds all project files to the toolbox and opens the Package a Toolbox dialog box.
The Toolbox Information fields are populated with the project name, author, and description. Edit the information if needed.
If you want to include files not already included in the project files, edit the excluded files and folders.