MATLAB Programming Fundamentals - MathWorks

(やまだぃちぅ) #1

Save, Open, and Compare Dependency Analysis Results


After running a dependency analysis in a project, you can save the results of the analysis.
Then, you can open and view the results without having to repeat the analysis.

To save your results as a .graphml file, go to the Dependency Analysis tab, and in the
File section, click Save As. Choose a file name and location.

To open a saved dependency analysis result, on the Dependency Analysis tab, in the
File section, click Open.

To compare the results of a current dependency analysis with previously saved results, go
to the Dependency Analysis tab, and in the File section, click Compare to Saved.
Select a .graphml file and inspect the differences in the comparison report.

Export Files in Impact View

To export all the files displayed in the Impact View of a dependency analysis, first, click
the graph background to clear the selection on all files. Then, go to the Dependency
Analysis tab, and in the Impact Analysis section, click Export. Select from the available
options:


  • Save to Workspace — Save the selected file paths to a variable.

  • Send to Custom Task — Open the Custom Task dialog box with the files selected.

  • Show in Files View — Switch to the Files view with the files selected.


To export a subset of files in the graph, select the files, and then click Export. The menu
displays how many files are selected: Selected files: number of files. Alternatively, you
can right-click the selected files, and select from the options in the Export menu.

Export Graph to Image File

To export the Impact View graph as an image file for sharing or archiving, go to the
Dependency Analysis tab, and 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.

You also can copy the image to the clipboard using the keyboard. You then can paste the
clipboard contents into other documents.

31 Projects

Free download pdf