メインコンテンツ

ビルドの自動化

コードの問題の特定、テストの実行、ツールボックスのパッケージ化など、ビルド タスクを作成および実行する
R2022b 以降

MATLAB® ビルド ツールを使用して、プロジェクトのビルドおよびテスト プロセスを標準化します。MATLAB ビルド ツールを使用すると、次のことができます。

  • 標準化されたインターフェイスを使用して、タスクを定義、表示、および実行する。

  • タスクが意図した順序で実行されるように、依存関係を指定する。

  • 変更された部分だけをリビルドすることで、重複作業を避ける。

はじめに、MATLAB ビルド ツールの概要を参照してください。

関数

buildtoolInvoke build tool
buildplanCreate build plan

クラス

すべて展開する

matlab.buildtool.PlanFundamental interface for defining a build
matlab.buildtool.TaskSingle unit of work in a build
matlab.buildtool.TaskGroupGroup of similar tasks (R2024b 以降)
matlab.buildtool.TaskActionAction performed when task runs
matlab.buildtool.TaskContextContext provided when task runs
matlab.buildtool.BuildResultResult of running a build
matlab.buildtool.TaskResultResult of running a task
matlab.buildtool.diagnostics.TaskSkipReasonReason for skipping a task (R2026a 以降)
matlab.buildtool.TaskInputsContainer for task inputs (R2023b 以降)
matlab.buildtool.TaskOutputsContainer for task outputs (R2023b 以降)
matlab.buildtool.io.FileCollectionCollection of files and folders (R2023a 以降)
matlab.buildtool.io.FileSingle file or folder (R2023b 以降)
matlab.buildtool.io.GlobFile collection that matches pattern (R2023b 以降)
matlab.buildtool.tasks.CleanTaskTask for deleting outputs and traces (R2023b 以降)
matlab.buildtool.tasks.CodeIssuesTaskTask for identifying code issues (R2023b 以降)
matlab.buildtool.tasks.MexTaskTask for building MEX file (R2024a 以降)
matlab.buildtool.tasks.PcodeTaskTask for creating P-code files (R2024a 以降)
matlab.buildtool.tasks.TestTaskTask for running tests (R2023b 以降)

トピック