Main Content
Optical Sensor
Add-On Required: This feature requires the Simulink Coder Support Package for VEX EDR V5 Robot Brain add-on.
Libraries:
Simulink Coder Support Package for VEX EDR V5 Robot Brain /
Sensors
Description
The Optical Sensor block reads data from the optical sensor that is connected to the VEX® V5 Brain. You can use this block in your Simulink model to measure color, brightness, and proximity to an object from optical sensor.
Ports
Output
Parameters
Extended Capabilities
Version History
Introduced in R2021b