pack_n_go

Compile Zip archives and automatically include all dependencies.

You are now following this Submission

I often need to share a short script, function, or model with colleagues, where it would be cumbersome to create a more formalized git or svn repository. In these cases, I'll usually just zip up the file(s) but of course still want to make sure that I include all the necessary file dependencies.
pack_n_go is an easy way to compress a Matlab script, function, model, or directory into a *.zip archive to share.
It will automatically calculate and include any dependencies that are found.
Additionally, it will create a text file within the archive listing all the necessary Matlab products or Toolboxes (and versions) required to run.

pack_n_go can be used by explicitly passing a file or directory to it. Or, if no arguments are passed, it will zip up the currently active Matlab Editor file. This latter case is ideal for use as a shortcut button.

Cite As

Meade (2026). pack_n_go (https://se.mathworks.com/matlabcentral/fileexchange/67812-pack_n_go), MATLAB Central File Exchange. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.0.3

Can now toggle where the dependency info is written ['file' (default); 'console' (option)]
Can create (UNzipped) folders instead of zip files.

1.0.0.0