|Home > Using Model Debugger > Launching Model Debugger > Launching from System Canvas|
This section describes how to launch Model Debugger from System Canvas.
If you have loaded a model, the CADI library option and the Application field are available for use.
This section describes how to configure models.
If you had not yet loaded a model at the time that Model Debugger starts:
Select File > Load Model.
In the Load Model dialog box that appears, locate and select the required model, then click Open.
A dialog box appears:
If you had already loaded a model before Model Debugger starts, Model Debugger checks the available components and opens a similar dialog box.
The Configure Model Parameters dialog box has the following sections:
This pane contains a hierarchical list of the component parameters by category. To expand the view, click the + symbol. To collapse the view, click the - symbol.
The parameter values are displayed in the right-hand pane.
To toggle between hexadecimal or decimal views, use the box in the lower left corner of the window.
To view the configuration parameters as a single list, click the List View tab. The Tree View is similar, but shows the same parameters in a grouped hierarchy.
Set the parameters for the model and click OK to close the Configure Model Parameters dialog box.
After closing the Configure Model Parameters dialog box, the Select Targets dialog box appears. Select those components that can be debugged in the model.
Click the box next to the components that are to load.
The Application file column displays applications to load for the processors. If the correct application is not selected, click in the field and enter the name of the source file.
If the application name in the list is the same as the application that was already loaded, the debug information is automatically loaded to the debugger.
Click OK to close the dialog box.
One or more instances of Model Debugger are created, depending on how many targets you selected to load.
If the application is loaded and the source code can be found from the debug information in the specified file, Model Debugger displays the code in the source window.
If the debug information cannot be found because, for example, the Application file field is empty, use the Load Application dialog box to specify the location for the source code.
If the application and source code are not loaded automatically, select File > Load Application to locate and load the code manually.
Reset the component after loading the source.