Simulink for Arduino

Has anyone used Simulink’s support for Arduino? Eventually my goal is to build segway style robots, but calculating accurate data from inaccurate sensors, such as a gyro and accelerometer, proves to be difficult. I was considering writing a low pass filter, but kalman seems the right way to go.

I’ve seen video’s of people controlling an Arduino with Simulink, but noticed this from the site:

You simulate and visualize your application on the host computer. When ready, the Simulink model is automatically converted to C/C++ code, compiled and downloaded to the Arduino.

http://www.mathworks.com/academia/ardui … ulink.html

I just found this support today and will investigate as soon as I have time. Looks awesome!

I have tired using the Arduino Simulink Target from MathWorks but it proved very difficult. I was initially trying to use it on an iMac and that did not work since it only supports 32bit Windows.

They really need to update this so that it will work with Mac and 64bit systems.

Did anyone get this to work?