HITL with Simulink

Hello,

I am trying to connect a Simulink-Modell (via UDP) in which I simulate the dynamics of an Fixed-Wing-Drone with a OrangeCube+. MissionPlanner should also be connected. So I tried to set this up with the code mentioned in the Simulation on Hardware (SoH) Documentation but it doasnt really works.

So my questions are:

Do I need to connect the OrangeCube via ethernet cable to my PC or doas USB is good enough?

Wich code should I load in WSL since the code mentioned in SoH doas not work (maybe because it is not for the OrangeCube?)

Doas anybody may has already done something like this and can give me some advice?

Thank you very much!