There are a variety of options for deploying MATLAB and Simulink code onto hardware. MATLAB, Simulink, Embedded Coder, and HDL Coder can generate C/C++ code, MATLAB executables run in MATLAB, generic executables can be run from a bash prompt, HDL Code for deployment to FPGAs, and C/C++ code which can be placed directly on embedded targets. The two primary topics discussed in this section are deployment to desktop computers and embedded targets.
Deployment for Ground and Aquatic Unmanned Vehicle Systems: RoboBoat, RoboSub, RobotX, and IGVC
Figure: Typical layout for a ground or aquatic-based unmanned vehicle system for the RoboBoat, RoboSub, RobotX, and IGVC competitions. The primary exception is that IGVC does not involve acoustic processing.
The Desktop Deployment section shows how to place MATLAB and Simulink code on the desktop computer in this diagram to control the unmanned vehicle system, perform acoustic, image, and point cloud processing.
The Target Deployment section shows how to place MATLAB and Simulink code on the low level microcontroller, FPGA, DSP, and Embedded Linux Microcomputer that are shown in this diagram.
Deployment for Flight Unmanned Vehicle Systems: SUAS, IARC
Figure: Typical layout for a flight- based unmanned vehicle system in the SUAS and IARC competitions
The Target section shows how to place MATLAB and Simulink code on a Flight Controller (i.e. Ardupilot APM and PixHawk PX4)