Main Content

Profiling and Optimization

Execution profiling, display, analysis, and optimization by using 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.

Objects

TargetRepresent real-time application and target computer status
InstrumentCreate real-time instrument object
ProfilerDataData returned from profiler

Functions

startProfilerStart profiling service on target computer
stopProfilerStop profiling service on target computer
getProfilerDataRetrieve profile data object
resetProfilerReset profiling service state to Ready
slrtTETMonitorOpen Simulink Real-Time task execution time (TET) monitor
plotGenerate execution profiler plot
reportGenerate profiler report
getSupportInfoCreates slrealtimeinfo.txt file that provides information about Simulink Real-Time installation
getCrashStackDownloads and decodes core files from target computer and opens these in MATLAB editor

Blocks

Enable ProfilerStart and stop execution profiler on target computer
Log EventLog an execution profiling event

Topics

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