This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English version of the page.

Note: This page has been translated by MathWorks. Click here to see
To view all translated materials including this page, select Country from the country navigator on the bottom of this page.

Dependency Analysis

Find required files, perform impact analysis

Projects help you to organize large modeling projects by finding required files, managing and sharing files and settings, and interacting with source control. See What Are Projects?.

Functions

simulinkproject(Not recommended) Open project and get project object
listRequiredFiles(Not recommended) Get project file dependencies
dependencies.fileDependencyAnalysisFind model file dependencies
dependencies.toolboxDependencyAnalysisFind toolbox dependencies

Examples and How To

Project Dependency Analysis

Run Dependency Analysis

Find required files for a whole project or for specified files, and control options for external toolboxes and incremental analysis.

Perform Impact Analysis

Visualize dependencies in a project, assess the impact of changing selected files, find required toolboxes, and run test files.

Check Dependency Results and Resolve Problems

How to fix problems in dependency results using the project Impact graph or table view.

Find Requirements Documents in a Project

View and open requirements documents in a project, linked using the Requirements Management Interface, visualize dependencies, and find specific blocks containing requirements links.

Save, Open, and Compare Dependency Analysis Results

Save results in a file to view and compare without repeating the dependency analysis.

Model Dependency Analysis

Analyze Model Dependencies

Find required files for a single model, create manifests and reports, programmatically check for file and toolbox dependencies, and package required files.

Model Dependency Viewer

How to view libraries and models referenced by your model.

Concepts

What Is Dependency Analysis?

Discover required files and toolboxes for a whole project or for a single model.