packAndGo
% SYNTAX
% packAndGo(targetFile)
%
% DESCRIPTION
% Creates a zip folder with all files required to run the specified file. Only folders in the
% MATLAB search path will be included.
%
% REQUIRED ARGUMENTS
% [No required arguments]
%
% OPTIONAL ARGUMENTS
% targetFile: File for which to create zip folder. Can be a single file or a folder. If omitted,
% this function wil use the active document in the editor window. Pass the filename
% as a character vector ('fileName' or 'fileName.m' or
% 'PATH\SUB_PATH\functionName.m') or as a function handle (@functionName). If
% creating a zip for a folder pass the full name of the folder.
%
% OUTPUT VARIABLES
% [No output variables]
%
% REQUIRED FUNCTIONS (USER-DEFINED)
% [No required functions]
% FUNCTION HISTORY
%{
============= 27 JAN 2020 =============
Nate Fulbright
-Initial release.
===========================================
%}
Cite As
Nate Fulbright (2024). packAndGo (https://www.mathworks.com/matlabcentral/fileexchange/74042-packandgo), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
Tags
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.