How to play Multiple Fixed-Wings UAV Animations in UAV animation block

Hussain Ali · Jan 28, 2023 · 2K views
Question
I am trying to simulate waypoint following of Multiple fixed-wings UAVs in UAV Animation block which I found from example "Tuning Waypoint Follower for Fixed-Wing UAV" which can be using following command:   openExample('robotics/TuningWaypointFollowerForFixedWingSmallUAVExample') this example shows way point following using single Fixed wing UAV having uav animation block...   for multiple UAVs i have duplicated the same model but with different waypoints and i want to simulate/animate this model...kindly guide how can i accomodate multple UAVs in single UAV animation block...
Expert Answer
Profile picture of Neeta Dsouza
Neeta Dsouza PhD Expert
Answered Aug 26, 2026

The UAV Animation block can only visualize one UAV at a time. If you want to visualize multiple UAVs, consider create a MATLAB function block and use plotTransforms function to draw multiple UAVs. You would need to use coder.extrinsic('plotTransforms') to declare that the visualization code will be executed using MATLAB instead of code generation.

100% Run Guarantee 3-Hour Fast-Track Delivery

Need a Custom Version or Complete Simulation for This Problem?

Our 500+ PhD engineers build, debug, and optimize working MATLAB scripts and Simulink (.slx) models tailored to your exact assignment rubrics with zero plagiarism.

Tested on MATLAB R2024b / R2026a
Turnitin 0% Plagiarism Report
Free 7-Day Revisions Guarantee
Have a different question? Ask here

Get a Free Consultation or a Sample Assignment Review!