Main Content


End flight of Parrot drone

Add-On Required: This feature requires the MATLAB Support Package for Parrot Drones add-on.



abort(parrotObj) instantaneously ends the flight of Parrot® drone, represented by parrotObj, by shutting down all the motors. Use takeoff to begin a new flight. This is a blocking call. In other words, MATLAB® blocks the command line until the current command runs to completion.


collapse all

Connect to a Parrot drone

parrotObj = parrot('Mambo')
parrotObj = 
          parrot with properties:

                    Name: "Mambo"
                      ID: "Mambo_564853"
                   State: "landed"
            BatteryLevel: 50%
        AvailableCameras: ["FPV"]

Use the parrot object to initiate takeoff of the Parrot drone.


While the Parrot drone is flying, abort the flight of the drone instantaneously by shutting down all the motors.


Input Arguments

collapse all

Parrot drone connection object, specified as a parrot object.

Version History

Introduced in R2019a

See Also

| | |