Please feel free to watch these tutorials of developing and testing an autopilot in MATLAB and Simulink:
- Introduction to Quadcopter Autopilot and Model Based Design
- Autopilot Function Requirements
- Autopilot System Architecture
- Modeling Flight Dynamics and Physical Systems
- Modeling Environments and 3D Simulation
- Modeling Virtual Sensors
- Flight Control Law Design
- Flight Management Design
- Sensor Fusion
- Requirements and System Validation
- Requirements Based Testing