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.


SimulinkRealTime.targetRepresent real-time application and target computer status
SimulinkRealTime.InstrumentationCreate a real-time instrumentation object
Profiler DataContains data returned from profiler


startProfilerStart profiling service on target computer
stopProfilerStop profiling service on target computer
getProfilerDataRetrieve profile data object
importLogDataImport buffered logging data to the active session of the Simulation Data Inspector
resetProfilerReset profiling service state to Ready
SimulinkRealTime.utils.minimumSampleTimeDetermine the minimum sample time at which a model can run
SimulinkRealTime.utils.TETMonitor.openDisplay TET monitor
plotGenerate profiler plot
reportGenerate profiler report


Enable ProfilerStart and stop profiler on target computer


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