readEchoTime
Description
measures the time taken by the ultrasound waves reflected from the object to reach
the sensor, represented by the connection object time
= readEchoTime(ultrasonicObj
)ultrasonicObj
.
The distance to the object is computed from the time
measured,
using the equation distance = (time x speedOfSound)/2
.
Examples
Input Arguments
Output Arguments
Version History
Introduced in R2019a