Main Content

UAV Toolbox Support Package for PX4 Autopilots

Access PX4 autopilot peripherals with UAV Toolbox and automatically build and deploy flight control algorithms with Embedded Coder

Using the UAV Toolbox Support Package for PX4® Autopilots, you can access autopilot peripherals from MATLAB® and Simulink®. With Embedded Coder®, you can also automatically generate C++ code and use the PX4 toolchain to build and deploy algorithms tailored specifically for Pixhawk® and Pixracer flight management units, all while incorporating onboard sensor data and other PX4-specific services.

Setup and Configuration

Install hardware support and configure hardware connection


Prepare model for hardware connection, add blocks to support PX4 Autopilots

Run on Target Hardware

Run model on target hardware