Simulink-Xplane10 Communication Via UDP

version (83.3 KB) by Mohamed Abdelkader Zahana
Communication between MATLAB/Simulink and X-Plane 10 via UDP


Updated 1 Nov 2015

View License

These Simulink models allow communication between MATLAB/Simulink and X-Plane10. This can be used to test control designs, that are implemented in MATLAB/Simulink, in a flight simulator, specifically X-Plane 10.
It is tested successfully on both Mac OS 10.8 and Windows platforms.
Three files are included:
1- Setup model: sends commands to x-plane via UDP to choose/tell what data x-plane 10 should spit out. You can choose as many data indices as available in the 'Data Input & Output' tab in x-plane 10.
2- Send model: Sends commands to control surfaces only via UDP.
3- Get model: receives data that was chosen by the 'setup model' from x-plane 10

Cite As

Mohamed Abdelkader Zahana (2022). Simulink-Xplane10 Communication Via UDP (, MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2014b
Compatible with any release
Platform Compatibility
Windows macOS Linux

Inspired by: Real-Time Pacer for Simulink

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!