How to connect arduino to matlab simulink

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