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
Target | Represent real-time application and target computer status |
Instrument | Create real-time instrument object |
slrealtime.instrument.LineStyle | Create real-time instrument LineStyle object |
ProfilerData | Data returned from profiler |
Stimulation | Target computer model root inport stimulator object |
Functions
startProfiler | Start profiling service on target computer |
stopProfiler | Stop profiling service on target computer |
getProfilerData | Retrieve profile data object |
resetProfiler | Reset profiling service state to Ready
|
slrtTETMonitor | Open Simulink Real-Time task execution time (TET) monitor |
plot | Generate execution profiler plot |
report | Generate profiler report |
getSupportInfo | Creates slrealtimeinfo.txt file that provides information about
Simulink
Real-Time installation |
getCrashStack | Downloads and decodes core files from target computer and opens these in MATLAB editor |
Blocks
Enable Profiler | Start and stop execution profiler on target computer |
Log Event | Log an execution profiling event |
Topics
- Execution Modes
Learn about the behavior of the interrupt and polling execution modes.
- Simulink Real-Time Options Pane
Configure initial values for real-time application options.