Project Release ZIP File from Dependencies

This function will build a zip file containing only necessary files/folders for release of a project

現在この提出コンテンツをフォロー中です。

This function will build a "release" zip file containing only files and folders which are dependencies of a particular m-file and are within a project working directory.
The function first finds all dependencies for a given m-file and removes those which aren't under the given working directory. After this, all the leftover project dependencies and their folder structure are copied over to a temporary directory. The temporary directory is then zipped to the working directory with the given zip file name and the temporary directory is deleted.
Version 1.1
Now allows for optional condition 'RuntimeDependencies' which finds the dependencies using a profiled runtime environment allowing for anonymous functions, dynamic function handles and all their children to be included as dependencies.

引用

Jacob D (2026). Project Release ZIP File from Dependencies (https://jp.mathworks.com/matlabcentral/fileexchange/62823-project-release-zip-file-from-dependencies), MATLAB Central File Exchange. に取得済み.

謝辞

ヒントを得たファイル: M-file dependency consolidator

カテゴリ

Help Center および MATLAB AnswersEntering Commands についてさらに検索

一般的な情報

MATLAB リリースの互換性

  • すべてのリリースと互換性あり

プラットフォームの互換性

  • Windows
  • macOS
  • Linux
バージョン 公開済み リリース ノート Action
1.1.0.0

Added RuntimeDependencies optional input argument

1.0.0.0