Main Content

release

Release the sensor object

Description

release(sensorobj) stops the data collection from the sensor, clears the buffer, and resets the start time and sets the number of overrun samples to 0.

Input Arguments

collapse all

The sensor object with the default or specified properties.

More About

collapse all

Code Generation Using MATLAB Function Block

  • Use release in a MATLAB® Function block with the Simulink® Support Package for Arduino® Hardware to generate code that can be deployed on Arduino Hardware.

  • release does not reset the start time.

Version History

Introduced in R2019a