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 function, and then click the
open report viewer
link.execute the function, and the click the
open report viewer
link.execute the function, specifying a mat-file generated by the
socmodelanalyzer
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
| |