Documentation

Profiling and Optimization

Execution profiling, display, analysis, and optimization by using Performance Advisor and MATLAB® functions

Profile the task execution time and function execution time of the real-time application that is running on the target computer. Then, you can tune its performance. See Execution Profiling for Real-Time Applications.

Using Objects

Real-Time ApplicationRepresent real-time application and target computer status
Profiler DataContains data returned from profiler

Functions

SimulinkRealTime.target.startProfilerStart profiling service on target computer
SimulinkRealTime.target.stopProfilerStop profiling service on target computer
SimulinkRealTime.target.getProfilerDataRetrieve profile data object
SimulinkRealTime.target.resetProfilerReset profiling service state to Ready
SimulinkRealTime.utils.minimumSampleTimeDetermine the minimum sample time at which a model can run
plotGenerate profiler plot
reportGenerate profiler report

Properties

Real-Time Application PropertiesProperties of real-time application and target computer

Blocks

Enable ProfilerStart and stop profiler on target computer

Topics

Execution Profiling for Real-Time Applications

Profile real-time application execution on target computers.

Execution Modes

Learn about the behavior of the interrupt, polling, and freerun execution modes.

TLC Command-Line Options

Configure the real-time application and the real-time kernel

Featured Examples

Was this topic helpful?