This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English version of the page.

Note: This page has been translated by MathWorks. Click here to see
To view all translated materials including this page, select Country from the country navigator on the bottom of this page.

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.

Objects

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

Functions

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

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