readTemperature
Read the temperature value from the Humidity sensor or the Air Pressure sensor
Syntax
Description
returns
the temperature read from the Humidity sensor. This is the default
syntax of the function.temperature
= readTemperature(mysh
)
returns
the temperature read from the Humidity sensor that you specify as
an extra argument.temperature
= readTemperature(mysh
,'usehumiditysensor'
)
returns
the temperature read from the Air Pressure sensor that you specify
as an extra argument.temperature
= readTemperature(mysh
,'usepressuresensor'
)
Examples
Input Arguments
Output Arguments
Extended Capabilities
Version History
Introduced in R2016b