The humidity value read from the Humidity sensor. The output of this
method is double and the unit of measurement for the humidity is percentage
relative humidity (%rh).
You can deploy readHumidity on the Raspberry Pi® hardware in MATLAB®
Online™.
To generate C/C++ code for this function, you must have an Embedded Coder license. For more information on selecting the right
product stack according to your development goals, see Product Stack for Raspberry Pi Blockset.
You can also select a web site from the following list
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.