Light Sensor
Measure ambient light level in lux (lx)
Add-On Required: This feature requires the Simulink Support Package for Android Devices add-on.
Libraries:
Simulink Support Package for Android Devices /
Sensors
Description
Use the Light Sensor block to measure ambient light in lux (lx) from the light sensor on the Android® device.
Note
During simulation with no hardware connected, this block does nothing. For more information, see Block Produces Zeros or Does Nothing in Simulation.
Ports
Output
Parameters
Version History
Introduced in R2014a