packAndGo

Creates a zip folder with all files required to run the specified file.

29 Downloads

Updated 7 Feb 2020

View License

% 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 (2023). packAndGo (https://www.mathworks.com/matlabcentral/fileexchange/74042-packandgo), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2018a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Tags Add Tags

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes
1.0.2

Fixed a typo in an error message.

1.0.1

Changed "open" to "winopen" in hyperlinks to achieve desired behavior.

1.0.0