Documentation

Save, Open, and Compare Dependency Analysis Results

In Simulink® Project, you can save the results of a dependency analysis. You can view the saved results later, without having to repeat the analysis. You can also save results separately in named files and reload them.

Save, open, and compare dependency analysis results from the File section of the Dependency Analysis tab.

  • To save your results as a .graphml file, click Save As and choose a file name and location.

  • To open saved dependency analysis results, click Open.

  • To compare results with previously saved results, click Compare to Saved. Select a .graphml file. Inspect the differences in the comparison report.

You can save reports that include more detailed results by using model dependency analysis. For more information about choosing model or project dependency analysis, see What Is Dependency Analysis?.

Export Impact Graph Results to Files or Images

To export impact analysis results, on the Dependency Analysis tab, in the Impact Analysis section, use the Export controls, or use the Export context menu on selected files.

Select Files to Export

To export all the files in the current view, check that no files are selected. (Click the graph background to clear the selection on all files.) Click Export to display Files in view: number of files.

Select a subset of files in the graph to export. Click Export to see how many files are selected: Selected files: number of files.

Export Files

  • To save the selected file paths to a variable, select Export > Save to Workspace.

  • To switch to the Batch Job view with the batch job files selected, select Export > Send to Batch Job.

  • To switch to the Files view with the files selected, select Export > Show in Files View.

Export Graph to Image File

To export the Impact graph as an image file for sharing or archiving, you can either:

  • Save an image file. On the Dependency Analysis tab, in the File section, select Save As > Save As Image. Use the Save dialog box to specify the name, file type, and location. The default file type is SVG, which supports image scaling.

  • Copy the image to the clipboard using the keyboard. You can paste the clipboard contents into other documents.

Export Reloadable Results

To export the impact results to a .graphml file that you can reload in Simulink Project, click Save As and choose a file name and location..

Related Examples

Was this topic helpful?