clearData

Clears data from children of real-time instrumentation object

Description

example

clearData(instrument_object) clears data from a real-time instrumentation object.

Examples

collapse all

Clear data from a real-time instrumentation object.

mldatxfile = 'my_xpctank.mldatx';
hInst  = SimulinkRealTime.prototype.Instrumentation(mldatxfile);
% for technical preview in R2019b, function name includes '.prototype'
% . . . hInst streams data
clearData(hInst);

Input Arguments

collapse all

To create the instrumentation object, use the SimulinkRealTime.prototype.Instrumentation function.

Example: hInst

Introduced in R2019b