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 function
Count
– The number of times the operator is executed in the
design
Operator
– The operator used
DataType
– The data type used for the output of the
operator
Link
– A link to the location of the operator in the model
or function
Use one of these options to access the report.
Execute the socModelAnalyzer
function, and then click the Open
report viewer
link.
Execute the socFunctionAnalyzer
function, and the click the Open
report viewer
link.
Execute the socAlgorithmAnalyzerReport
function, specifying a MAT-file
generated by the socModelAnalyzer
or
socFunctionAnalyzer
function.
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.
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.
socAlgorithmAnalyzerReport
| socFunctionAnalyzer
| socModelAnalyzer