Main Content

Analyze Algorithm Resources

Analyze algorithmic and behavioral models

Analyze your Simulink® model by using the socModelAnalyzer function to estimate the resources used in your model, compare different architectures, and understand design tradeoffs. Use the socFunctionAnalyzer function to analyze resources in a MATLAB® function.

The socModelAnalyzer and socFunctionAnalyzer functions create a report detailing the number of operations in a Simulink model or a MATLAB function, respectively.

Use the information in the report to:

  • Decide how to partition your algorithm into software and hardware.

  • Optimize a hardware algorithm

  • Optimize a software algorithm

  • Compare different implementations of an algorithm to make informed decisions about design choices.

Functions

socModelAnalyzerEstimate number of operations in Simulink model
socFunctionAnalyzerEstimate number of operations in MATLAB function
socAlgorithmAnalyzerReportOpen algorithm analysis report

Topics

Using the Algorithm Analyzer Report

Navigate details of the report generated by the socModelAnalyzer or socFunctionAnalyzer function.

Featured Examples