A Launch button is provided under the Clocking tab of the System Generator token dialog box to launch the Resource Analyzer table using the existing resource utilization results for the model. Make sure the Target directory specified on the Compilation tab of the dialog box is readable by the Resource Analyzer, and the Analyzer type field is set to Resource. This will only work if you already ran analysis on the Simulink model and haven't changed the Simulink model since the last run.
When you click the Launch button, the Resource Analyzer table will display the resource utilization results stored in the Target directory specified on the Compilation tab, regardless of the option selected for Perform analysis (the Post Synthesis or Post Implementation option).
You can launch the Resource Analyzer table to display existing resource utilization results by entering the following command at the MATLAB® command prompt:
get_param('model_name','handle')gives you the model handle.Note:
model_namerepresents the name of the model.
- For the path to
netlistdirectory, you can use an absolute path, or if you are using this API from the same directory where
netlistdirectory is present, then you can use a relative path like '