Simuling qgroundcontrol connection

I wanted to know how to connect Simulink to QGroundControl using UDP?

I created some custom mavlink messages which I want to send to QGroundControl then route these messages to the Pixhawk connected on serial COM3 but I am having hard time making connection between Simulink model and qgroundcontrol.

any help would be appreciated

Do you find the method?