Hello, I tried to build the slx file in simulink but the error in s -function'Arduino_ADLX345_driver_v1/S-Function Builder1':S-function'ADLX345_driver_v1' does not exist.
Could you please help me? Thanks,
I am using MLX-90614 ir temperature sensor and this package is compatible with the version of matlab that i am using .
But i want to know what does this command
When i run this command it return values like 15000,14990 and just like these values. What does these values mean? I want teperature value in celcius. What should i do? can any one help?
but is it easy to make it compatible with the Arduino DUE or the Arduino DUE matlab package (http://www.mathworks.nl/hardware-support/arduino-simulink.html)?
I'm mostly interest in the simulink block. I tried it on my computer, but the ArduinoIO package doesn't work with Arduino DUE (or doesn't work if the Arduino DUE matlab package also is installed on the computer).
I hope you can help me.
Hi naxokite, It seems like you have the same problem as me. My solution was to change the arduino.m file provided by Zhuo Li.
Open the arduino.m file and scroll down to the part that reads out the I2C master. It is right around line 1539. You will find a line that says fwrite... at line 1581. This line sends the address to the arduino. It seems like you have to execute this line two times. Do not ask me why. If you copy that line and past it right behind it on line 1582 it should work.
Good luck with the project!