If you are using the Simulink support package for the VEX V5 Robot Brain in the R2019a version of MATLAB, you can use the files attached to get information from the vision sensor.
- Copy the Vision Sensor Simulink block from either of the models provided
- Make sure to keep the accompanying files (except for the attached Simulink models) in the same folder as your working model.
- There is an additional example attached that shows how to follow and object using the vision sensor
- You should still use the VEX Coding Studio utility to setup the sensor signatures
Since this is a protoype block, please contact email@example.com if you run into errors or have additional questions.