Go Down

Topic: Arduino Simulink (Read 825 times) previous topic - next topic

zaciatok

Hi guys,
I would like to ask you very kindly how I can communicate arduino and simulink on Matlab R2009b, because there is a lot of information for another matlab versions from R2012a. I just want to blink a LED by the moment but using simulink blocks.
Can someone help me please?
Thank you in advance for your response.

tomsegers

Hallo Zaciatok,

It will probably be easiest to update your simulink then you can use the special arduino library to program your arduino board.
If this isn't an option you should look into the serial communication blocks that simulink has and set up a control loop that way. The offside to this is that the control program will be in simulink at that point and not in your microcontroller.

Greetings,

Tom

Gilgamesh90


Hi guys,
I would like to ask you very kindly how I can communicate arduino and simulink on Matlab R2009b, because there is a lot of information for another matlab versions from R2012a. I just want to blink a LED by the moment but using simulink blocks.
Can someone help me please?
Thank you in advance for your response.



Easy, use the ArduinoIO library. It's free and very easy to use!

Go Up