Connect Simulink with Airsim

Hello everyone,
I am writing to ask if there is any way to take a Simulink UAV model and simulate it in AirSim. What I am trying to achieve is to use a high fidelity model within a photorealistic environment.
Is that possible? If not, is there any alternative simulator which can allow me to do this?
Thank you in advance

2 Comments

Hi Tong Yu Bao,
Did you find any way to do that ?
Thanks
Hey Tong, did you find any?

Sign in to comment.

Answers (1)

Shweta Gupte
Shweta Gupte on 24 Nov 2020
The UAV Toolbox ships with Unreal library which can be used to connect to a photorealistic simulation in Unreal (which is what AirSim is built on)
https://www.mathworks.com/help/uav/ug/3d-simulation-for-unmanned-aerial-vehicles.html

3 Comments

Has anyone tested a connection with AirSim and Simulink using the UAV Toolbox? Does anyone know if the blocks provided in the UAV Toolbox will instantiate an UAV, determine initial position, and relay sensor data (IMU, GPS, camera, lidar) from AirSim to Simulink? These capabilities exist for a scene developed in Unreal Engine and while AirSim is based on Unreal Engine that does not guarantee compatibility. I'm looking into using UE or AirSim and doing some homework before taking a deeper dive. Thanks
I'm also curious. Will you update here if you find answers to your questions?
Hello Jared,
Have you found any answers?
Thanks,

Sign in to comment.

Tags

Asked:

on 15 Apr 2020

Commented:

on 17 Feb 2025

Community Treasure Hunt

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

Start Hunting!