Reload Existing Traceability Information - MATLAB & Simulink (original) (raw)
Main Content
When you build a model, the traceability information is stored in the build folder. The format of the build folder for an ERT-based target is_model__ert_rtw
.
Model-to-code parameter should be selected in the original build to be able to reload the traceability information in a new SimulinkĀ® session. To reload existing traceability information for a model:
- Reset the current working folder to the parent folder of the existing build folder.
- In the Configuration Parameters dialog box, next toModel-to-code, click Configure.
- In the Model-to-code navigation dialog box, in the Build folder field, type or browse to the build folder that contains the existing traceability information.
If you close and reopen a model, the Navigate to Code context menu option might not be available because Embedded CoderĀ® cannot find a build folder for your model in the current working folder. In that case, perform these steps:
- To open the Model-to-code navigation dialog box, click Configure.
- In the Model-to-code navigation dialog box, click Browse.
- Browse to the build folder for your model and select the folder. The build folder path is displayed in the Build folder field.
- If you selected Model-to-code for the build, clicking Apply or OK loads traceability information from the earlier build into your Simulink session.
- To open the context menu and trace a model element to corresponding code, right-click a model element and select > .