MATLAB: Reading BNO055 on MATlab

arduino

Hello,
I'm currently attempting to retrieve euler angles from my BNO055 sensor which is connected to my arduino. I've managed to get MATlab to recognize the arduino connection and what it's properties are, but I'm uncertain as to how I'd approach retrieving this data. I'm able to do this using the Arduino IDE/Serial plotter, but not sure how I'd attempt this on MATlab.
I'm fairly new to MATlab, so bear with me.
Thanks a lot.

Best Answer

Here is an example of how to communicate with an I2C device - https://www.mathworks.com/help/supportpkg/arduinoio/ug/measure-temperature-from-i2c-device-on-arduino-hardware.html
You can use a similar approach to communicate with your sensor. Please note - the commands will most probably be completely different for your sensor, you will have to find the appropriate commands from Manual of the sensor.