Using the Algorithm Analyzer Report
Executing the socModelAnalyzer
function on a Simulink® model or the socFunctionAnalyzer
function on a
MATLAB® function results in a report that details the resources used by the model or
function, respectively.
The report includes information for each mathematical or logical operator in the top model
or function, with individual lines for each operator and data type. For example,
multiplication with data type double
and multiplication with data type
uint32
are listed separately. The report lists each instance of the
operator as a separate line. The report includes these fields.
Path
– The path to the operator within the structural hierarchy of the top model or functionCount
– The number of times the operator is executed in the designOperator
– The operator usedDataType
– The data type used for the output of the operatorLink
– A link to the location of the operator in the model or function
Open Report
Use one of these options to access the report.
Execute the
socModelAnalyzer
function, and then click theOpen report viewer
link.Execute the
socFunctionAnalyzer
function, and the click theOpen report viewer
link.Execute the
socAlgorithmAnalyzerReport
function, specifying a MAT-file generated by thesocModelAnalyzer
orsocFunctionAnalyzer
function.
Operator View
View the generated report in the operator view. On the report toolstrip, click Operator View. Then, when clicking Collapse All each line represents the number of operator executions per data type. A line in the collapsed-view of the report represents one or more operators, with the same data-type. Expand a line to see the individual operators contributing to the count, their path in the model hierarchy, and a link to their location in the model.
Algorithm View
View the generated report in the operator view. On the report toolstrip, click Algorithm View. Then, when clicking Collapse All each line represents a top node in the hierarchy. You can expand a line to navigate to the function or model that you are analyzing. Use this view when you are interested in analyzing the operators in a specific model or function. When using this view, you can collapse the view for other models or functions.
See Also
socModelAnalyzer
| socFunctionAnalyzer
| socAlgorithmAnalyzerReport