How to build s-function in simulink and generate code to the arduino

1 view (last 30 days)
Hello all; i am trying to make a data acquisition module from arduino (attached to an MPU9150) in simulink ... so i read that i can do this by building a s-function but i don't know how can i do this .... this s-function should read the values from the gyroscope and accelerometer embedded in the mpu ... and if there is another method for doing this ....also i can't find necessary ressources for simulink and arduino together plz help thanks a lot

Answers (1)

chfakht chfakht
chfakht chfakht on 16 Feb 2015


Find more on Simulink Support Package for Arduino Hardware in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by