Documentation

SimulinkRealTime.target.resetProfiler

Reset profiling service state to Ready

Syntax

resetProfiler(target_object)

Description

example

resetProfiler(target_object) resets the profiling service state to Ready, abandoning any data that the profiler has collected.

The profiler resets itself if a real-time application is loaded, started, or unloaded.

Examples

collapse all

Start profiling and then reset the profiler. The real-time application is already running.

tg = slrt;
startProfiler(tg);
start(tg);
resetProfiler(tg);

Input Arguments

collapse all

Object that represents the target computer. Before calling this function, make sure that you start the target computer with the Simulink® Real-Time™ kernel and apply the required Ethernet link settings.

Example: tg

Introduced in R2017b

Was this topic helpful?