Microsoft Flight Simulator SITL Roll Controller Simconnect
Version 1.0 (48.1 KB) by Alireza Ghaderi
Using SimConnect Toolbox or real-time communicating MSFS 2020 with Simulink
Updated 26 May 2022
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:
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:
Alireza Ghaderi (2023). Microsoft Flight Simulator SITL Roll Controller Simconnect (https://github.com/alireza787b/MSFS_sitl_roll_controller/releases/tag/1.0), GitHub. Retrieved .
MATLAB Release Compatibility
Created with R2022a
Compatible with R2022a and later releases
Platform CompatibilityWindows macOS Linux
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.