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.

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