# Another UDP Port while in SITL to Simulink

**URL:** <https://discuss.px4.io/t/another-udp-port-while-in-sitl-to-simulink/16319>\
**Category:** Uncategorized\
**Created:** [April 20, 2020, 9:12am UTC](https://discuss.px4.io/t/another-udp-port-while-in-sitl-to-simulink/16319 "2020-04-20T09:12:18Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![alireza\_ghaderi](https://discuss.px4.io/user_avatar/discuss.px4.io/alireza_ghaderi/32/6097_2.png) [@alireza\_ghaderi](https://discuss.px4.io/u/alireza_ghaderi)\
**Post date:** [April 20, 2020, 9:12am UTC](https://discuss.px4.io/t/another-udp-port-while-in-sitl-to-simulink/16319/1 "2020-04-20T09:12:18Z")

</div>

Hi  
I have successfully run PX4 in SITL mode with gazebo and Qgroundcontrol. Everything works just great.  
I want to connect a simulink model in parallel.  
All I need is another UDP port maybe. somehow I want to use Mavlink decoder in simulink to connect to PX4 SITL using UDP. I only want to view the data and plot them and analyze them in simulink. I dont want to send back anycommands  
I think it cant be done now because Qground is using the UDP connection. I want another free connection to Simulink  
Can you please give me some resource about it

---

<div class="post-metadata">

**Author:** ![alireza\_ghaderi](https://discuss.px4.io/user_avatar/discuss.px4.io/alireza_ghaderi/32/6097_2.png) [@alireza\_ghaderi](https://discuss.px4.io/u/alireza_ghaderi)\
**Post date:** [August 11, 2020, 3:39am UTC](https://discuss.px4.io/t/another-udp-port-while-in-sitl-to-simulink/16319/2 "2020-08-11T03:39:49Z")

</div>

I found that this is possible with mavproxy and forwarding the Mavlink incommoding connection.  
There is good doc in mavProxy gitHub Page

---

<div class="post-metadata">

**Author:** ![aka](https://discuss.px4.io/user_avatar/discuss.px4.io/aka/32/9823_2.png) [@aka](https://discuss.px4.io/u/aka)\
**Post date:** [December 6, 2021, 10:44am UTC](https://discuss.px4.io/t/another-udp-port-while-in-sitl-to-simulink/16319/3 "2021-12-06T10:44:48Z")

</div>

Hyy @alireza_ghaderi can u tell how to connect PX4 sitl in simulink and then visualize it with QGC. As i am new to this topic. It would be great if u help me out!
