Creates a single MATLAB self-extract p (and m) file with all the contents of a selected folder.
When executed, the output file will recreate the package inside a folder with the same name of the main package folder. For instance if the selected folder is "/home/user/package", the creted folder during extraction will be "package".
The screenshot shows the creation of the p file of the saved MathWorks site at the folder /tmp/matlab_site
Cite As
M MA (2026). selfpack (https://uk.mathworks.com/matlabcentral/fileexchange/8565-selfpack), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R12
Compatible with any release
Platform Compatibility
Windows macOS LinuxCategories
Find more on Adding custom doc in Help Center and MATLAB Answers
Tags
Acknowledgements
Inspired: aselfpack
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
| Version | Published | Release Notes | |
|---|---|---|---|
| 1.0.0.0 |
