How to connect arduino to matlab simulink

i have made a model, in matlab simulink, of an h-bridge connected to a dc motor but the problem is i dont know how to add the arduino. I have the arduino hardware support installed but its quite confusing on how to use it.

i have added the picture to my model. i hope to get an answer soon cause i need to submit the project within a week.

Is google broken in your country ?

Google "arduino matlab" seems to bring up lots of instructions.

i have used google, and looked into every single link which is related to a dc motor and an arduino but no luck. Google only has examples of servo connected to arduino and the servo motor is already built in the arduino hardware package so its very easy to use but a dc motor, i dont know.

Someone? Anyone?

The inputs of the H-bridge are the inputs to your system, right?
If so use the digital I/O block of the arduino library to programm your arduino through simulink.
I believe they even have an specific block for PWM.

Greetings Tom

check this link
http://www.maklabacademy.com/how-to-connect-servo-motor-to-arduino-matlab/