Microsoft Flight Simulator SITL Roll Controller Simconnect

Using SimConnect Toolbox or real-time communicating MSFS 2020 with Simulink

https://github.com/alireza787b/MSFS_sitl_roll_controller

You are now following this Submission

This is the source Simulink file that I used in the Youtube tutorial.
This basic demonstration helps you setup your simulnik and simconnect SDK so you can communicate in real-time with Flight Simulator.
The example provided is implementing a roll controller using a simple PID block in discrete time.
Youtube Video Guide for setting up and run this simulation:
IMPORTANT:
You need to install simconnect Toolblox from github.. (https://github.com/aguther/simconnect-toolbox)
and copy this file to the folder containing simconnect toolbox files.
I have already covered the installation and setup steps in this video tutorial:

Cite As

Alireza Ghaderi (2026). Microsoft Flight Simulator SITL Roll Controller Simconnect (https://github.com/alireza787b/MSFS_sitl_roll_controller/releases/tag/1.0), GitHub. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with R2022a and later releases

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0

To view or report issues in this GitHub add-on, visit the GitHub Repository.
To view or report issues in this GitHub add-on, visit the GitHub Repository.