File Exchange

image thumbnail

Simulink Support Package for Parrot Minidrones

Design, simulate and deploy algorithms to fly Parrot Minidrones


Updated 20 Mar 2019

Editor's Note:

This support package is currently unable to download third-party software for MATLAB R2017a and earlier versions. For details and workaround, see this Bug Report.

MATLAB R2017b and later versions are unaffected.

Simulink® Support Package for Parrot® Minidrones lets you build and deploy flight control algorithms on Parrot minidrones. You can deploy algorithms wirelessly over Bluetooth®. The algorithms can access onboard sensors—such as the ultrasonic, accelerometer, gyroscope, and air pressure sensors—as well as the downward facing camera.
Simulink add-on tools provide additional capabilities. Aerospace Blockset™ includes an example that makes use of Parrot minidrones. The example lets you model 6-DOF equations of motion and simulate aircraft behavior under various flight and environmental conditions. Simulink Coder™ lets you record flight data on the minidrone and access the C code generated from Simulink models.

Supported minidrone models are Rolling Spider and Mambo.

Note for Windows 7/10 users on Bluetooth connectivity:

There is a limitation in the supported Bluetooth adapters that can be used. The user may need an extra Bluetooth adapter even if there is a built-in Bluetooth connection on the host computer. The best adapter available is the CSR 4.0, which supports the PAN GN connection required. For this Bluetooth dongle, the user needs to install the CSR-specific driver and not the Windows driver that would be picked by default.

For more information visit:

Comments and Ratings (116)

Radu Ghiga

Hello All, I have Matlab 2017b installed on a Windows 7 machine and when I try to install this Support Package I get an error saying that I have the incorrect Matlab or Operating System Version. Is this a bug, or the current version of the support package is no longer supported on the configuration I have?


Hello everyone,
Someone is informing me about the battery data once the word is referring to "SOC" or "milliampere * hour", can you be related to the two?

ello jayanth yelandur
Many thanks for the tip it worked perfectly. a new question is whether the conversion by block 'Data Type Conversion' will affect the tuning of the PID controller?

In the webinar after PID tuning, the 'K' and 'P' values ​​of the controller were replaced in the original simulation and an improvement was observed. however when I replaced the 'K' and 'P' parameters after the tuning I noticed that it spoiled the response of my position signal.
Someone can help me with a tip or if I got the modifications perfectly and can share a link with the file after modification, to compare look for my error, I'm running the video step by step but with different results.

Hi Adriel,

Since a lot of stuff is being removed, there is a chance of data type mismatches. To solve this, just a 'Data Type Conversion' block on the line in which the error is caused. This should resolve the issue.

Has anyone tried adjusting the altitude controller according to webnars made available by mathworks? I took one step of this video:

but I have this error:

Incompatibility of data types. Input port 4 of 'asbQuadcopter / ControlMixer' expects a signal of the 'double' data type. However, it is driven by a 'single' data type signal.
Component: Simulink | Category: template error
Incompatibility of data types. Output port 1 of 'asbQuadcopter / feedforward by gravity // equilibrium thrust' is a signal of the 'single' data type. However, it is triggering a "double" data type signal.

can anybody help me?

Hi John Doe,

Use this link to contact the tech support:

John Doe

Thanks for your answer! Yes, the model is configured for its use with the Rolling Spider. Can you provide me with a way to contact Technical Support?

I updated to 2019a and i am getting issues. I get the error "Error: VR Source and VR To Video blocks cannot be used with code generation." I never got this before. It also keeps saying to switch different models from ert to grt or visa versa. How can i correct these issues?

Hi John Doe,

What is the error message you are getting? Did you select the right hardware? It would be good if you could contact the Technical Support with the answers to these questions...

John Doe

Hello, I've been having issues generating the code for the "asbQuadcopterStart" example. I'm using the Parrot Rolling Spider. I get an error about a failure to generate the binary outputs. This doesn't happen with the "parrot_gettingstarted" example, the one that turns on two rotors at a time.

Hi Jasvir Virdi,

Could you let us know the issue you are facing? Do give details about the OS, MATLAB version etc.

Thanks, Jayanth Yelandur Keshava!

Hi Luca Mezzanotti,

We are aware of the issue. This is due to a broken link to the Carlson-Minot g++ compiler. We'll notify you once the issue is fixed.

Hello All,
I have this problem when I try to download the Simulink Support Package,
"Failed to download the third-party software: Carlson-Minot G++ Lite" , how can I resolve this issue? I haven't been able to find this package. I'm using a MacBook Pro with Matlab 2018a.
Thanks in advance

My email id is I am using parrot mambo drone as well

Hi Jayanth-
We are using the Parrot Mambo. My email is Thanks for your response.

Is it possible to use this toolbox with AR Drone 2.0? I'm using Matlab r2017b.

Hi Quint,

What drone are you using? Please share your e-mail id. We'll resolve the issue....

I have installed the Simulink Support Package for Parrot Minidrones, but Matlab freezes on either the first or second screen of the Hardware Setup window. I've retried this at least 20 times and it always gives me the spinning beach ball. I have updated mac OS to the latest version (10.14.4). I have tried in both 2018b and 2019a. I have tried restarting my computer. This issue is very frustrating as it prevents me from even beginning this project. Any support would be appreciated.

Hi Ankur Bose,
thank you so much for the helpful help everything went well!

Ankur Bose

Hello All,
The R2019a version of MATLAB is live now. The R2019a version of the Simulink® Support Package for Parrot Minidrones provides a way to navigate your flying Parrot Mambo drone using the Keyboard control block in Simulink. The R2019a version of the support package contains a Simulink template to help you get your Parrot Mambo drone take off and fly.

Ankur Bose

If you have downloaded the flight log, you can see that the log contains the battery voltage information for each second of the flight information. If you downloaded the MAT File , you need to load the MAT File in MATLAB workspace using the command load('RSdata.mat') which would then load all the sensor information during flight on your workspace.

Hello everyone,
How do I view the vector with the battery charge and voltage data after clicking "Flight Log" and "Mat File"?

Hi Rummu Yang,

Which version of MATLAB are you running? I was assuming you had R2018b installed. In case you are running R2018a or earlier, you need to follow a few steps. I'll mail the steps to you.

Hi Ankur
Yes, my email is:

Ankur Bose

Can you share me your email-id so that I can follow up regarding the issue you are facing?


Hello everyone,
I have Simulink® Coder ™ installed on the computer, and MAT file registration is enabled in the Configuration Parameters dialog box in the Simulink model. When I press "Flight Log" and "MAT File", the MAT file is not generated. Someone could help me because I need the flight record data and their respective graphics.

I'm using the example "asbQuadcopterStart" and the drone "rolling Spider"

k k d

Hi Ankur,
In the control block, I would like to design a fractional order PID controller to the rolling spider Simulink model but I am getting an error. I would like to know, whether the Parrot rolling spider Simulink model will support the fractional order PID controller or not. I have successfully implemented the FOPID controller on the simulational model proposed by Prof. Peter Corke (Ref: Robotics, Vision and Control). I found that using the same model, rolling spider Simulink model was developed but I am unable to implement the FOPID controller on the Parrot model Simulink.
My Email id:


Runmu Yang

Hi Jayanth Yelandur Keshava,
I can't find where 'landing logic' inside the FCS block is, or am I missing sometihing?
In addition, I followed this webinar (, I have brought in the reference signals to depoly them to the drone, but when adding the signal input into the FCS, how kann I get it to be discrete? I put it to fix by accepting continious time but it isn't working properly.
my email ist, looking forward to hear from you!
Best regards,

Hi Runmu Yang,

The reference signal modification only works for the simulation. The entire asbquadcopter model is not deployed to the hardware. Only the Flight Control System part is deployed to the hardware, hence it doesn't reflect onto the hardware. If you want to change the pattern for hardware deployment, navigate to asbQuadcopter -> FCS -> Flight Control System -> landing logic. You can modify the x,y,z signals here and the same would be reflected in the simulation as well as the deployment.


Ankur Bose

Open Simulink configuration parameters and set the target hardware of parrot_gettingstarted Simulink model as Parrot Rolling Spider instead of Parrot Mambo. Then try building.


Hello All
The Bluetooth 4.1 that came embedded in my notbook can replace the external usb dongle?

he following error appears: " ### Build procedure for model: 'parrot_gettingstarted' aborted due to an error.
The following error occurred during deployment to your hardware board:
The PARROT Mambo minidrone is not connected over Bluetooth to host computer. Connect the minidrone and build the model again." After connecting the Parrot Rolling Spider via Bluetooth to the PC, I checked the following connection address at the command prompt. I pinged and it resulted in: "PARROT Rolling Spider fagot is connected" so far ok. Does anyone know what this problem is?

Hello everyone,
After connecting the Parrot Rolling Spider via Bluetooth to the PC, I checked the following connection address at the command prompt. I pinged and it resulted in: "PARROT Rolling Spider fagot is connected" so far ok. However in the last step in the model: "parrot_gettingstarted" when pressing "Deploy to Hardware" the following error appears: "The following error occurred during deployment to your hardware board:
The PARROT Mambo minidrone is not connected over Bluetooth to host computer. Can someone help me to resover?

Runmu Yang

Hi everyone,

I have a question about modifying the reference signal.
I modified the signal builder in the reference signal, then I deployed the flight controller to the hardware. But it did not work as well.
If anyone know how to solve this problem, please give me your help.

Thanks in advance

Ankur Bose

Hello Benjamin Rothaupt,
The Parrot firmware disables many features when you connect the drone over USB instead of Bluetooth. Can you let us know your use case why do want to flash over USB instead of Bluetooth? Even if you flash over USB you still need Bluetooth to fly and control the drone.


Hi everyone,

is there a way to connect the Parrot Mambo to my PC via USB instead of Bluetooth?
The setup process requires a BT device, which my computer does not have. At least for flashing custom controllers, USB should be implemented as an option. Or am I missing something?

Thanks in advance,

Ankur Bose

After you have connected the Parrot Mambo over Bluetooth to PC, you can verify the connection by pinging the address on the command prompt. Can you ping the address and let us know the output?


Hello everyone
I have a trouble to proceed hardware setup. I followed all the steps of hardware setup.
but at the last step that is 'Confirm PARROT Minidrone Configuration', there is an error 'PARROT Mambo is not connected to Bluetooth' when I clicked 'Test Connection' button.
I have followed that process again and again. but I cannot solve this problem.
If anyone know how to solve this Bluetooth connection problem, please give me your help.
Thanks in advance

MATLAB ver.: R2018a
Platform: window10
Minidrone: Parrot mambo
Buletooth USB adapter: NEXT-204BT
Bluetooth driver ver.:

Hi everyone
Does anyone know if there is a way to use the grabber or the cannon of the Mambo minidrone using the Simulink support package?
Thanks in advance,

Hi Ankur,

Yes, it is

Ankur Bose

Hello José Emilio Traver,
Can you please share your email id through which I can contact you to resolve the issue you are facing?

Hi everyone,
I am trying install the toolbox, but I don't achieve it. In the setup process in "Verify Firmware", the following error appears:

Unable to create Ethernet network over USB.Check these and restart the setup process:
- Connections to minidrone
- HoRNDIS driver installation
if the problem persist, restar your computer and try again.

I also installed the HoRNDI package but the error persists. If I skip this step and try search the bluetooth of the Minidrone, I never find it. However, if I use a third party bluetooth scanner, I can see the bluetooth perfectly.

By the other hand, I try install the package in Windows 10 with VMware fusion but I couldn't install the RNDIS driver.

What can I do?

Thanks in advance.
Info about my pc:
MATLAB version : R2018b
- Platform: Osx 10.14 (MBP 2018)
- Support Package version. : Last version.
- Minidrone: Parrot Mambo.

- MATLAB version : R2018a
- Platform: win/mac/Linux : Win10
- Support Package version. : ?? How can I check this..
- At which exact screen in the hardware setup are you facing this issue. : I clicked the setup button at Add-on manager. After the hardware setup window popped up, I clicked next button. Then, I got "too many input arguments" error massage...


I currently have doubts about the correctness of the tutorial on "TCP / IP and UDP using Communicating with a PARROT Minidrones." Details are in MATLAB Answer below, any answer will be of help to me.

Hi Samuel,
Could you please give us more info on the error? Please let us know:
- MATLAB version
- Platform: win/mac/Linux
- Support Package version.
- At which exact screen in the hardware setup are you facing this issue.

When I try to do hardware setup, I get "too many input arguments" error massage.
How can I solve this problem.

Ankur Bose

Hi All,
If you are installing the support Package in Ubuntu 18.04 or later, the code compilation after Simulink model build might fail. To resolve the issue, please execute the below commands in Ubuntu Terminal.

sudo apt-get install gcc-arm*
sudo apt-get install lib32z1 lib32ncurses5
sudo apt-get install build-essential

We are three students of the University of Florence, Italy. We'd like to share with you our project with a Parrot Mambo Minidrone.

Qi Lu

Hello, Ankur,

My name is Qi Lu. I am a Ph.D. student from Texas Tech University. From the data I have recorded, it seems that the posVIS_data signal is always zero and the usePosVIS_flag is also zero. Is there any way to enable this flag and get the posVIS_data signal? My email is Thank you for your kind help!

Best regards,
Qi Lu

Onur Ersoy

Thanks for support Ankur

Ankur Bose

Hello Onur Ersoy,
Please share your email-id so that we can help you with the issue you are facing

Onur Ersoy

I am having trouble during the insallation of the support package. The error that is given during the installation is:

Java exception occurred: Read timed out
at Method) at at at at sun.nio.cs.StreamDecoder.readBytes( at sun.nio.cs.StreamDecoder.implRead( at at at at at at at at at at at

I am using Matlab 2017b with Win10 for Rolling Spider. I have tried the solution that is given for a similar FTP problem below.

Ankur Bose

Hi Everyone,
The R2018b version of MATLAB is live now. The R2018b version of the Simulink® Support Package for PARROT® Minidrones provides a way to connect the Mambo and Rolling Spider minidrones to Linux platforms such as Ubuntu 16.04, Debian 9 etc. You can design your image processing algorithm in Simulink, simulate your model and build and download the code on the drone to test it out.

Ankur Bose

Hello Brandon,
I have reached out to you on the email-id you mentioned. Let me know if you have not received it


I am trying to download this support package for Mac MATLABa and am getting an error when downloading the Bluetooth Utility:

Failed to install the third-party software:
Bluetooth Utility
This is required by:
Simulink Support Package for PARROT Minidrones
To resolve this issue, see this MATLAB Answer.
I did not fine any solution when following the suggested link nor here on the comments.
i am using mac osx and here is my email

I tried the support package posted by Ankur Bose and it did not help. I manually installed the package itself alone and it worked, but when I got to download the entire package together it still gives me the error.

@Jeremie Pilon: Please create a technical support case to investigate your question:

I am wondering if the saturations for the motors are present for safety reasons or if they are the real motor limits? My emails are and . If someone can contact me concerning this issue, it would be great!

There seems to be an issue with connectivity over bluetooth. After about 20 seconds, the minidrone drops the connection with the host computer and it takes 3 to 4 seconds before the connection is re-established. My emails are and . If someone can contact me concerning this issue, it would be great!

Hi Ankur,

my email address is
looking forward to hear from you

Ankur Bose

Hi woong-ji choi ,
Can you please share your email id through which I can contact you to resolve the issue you are facing?

Hi i'm using Mac OS and i've installed the update 6 as mentioned in the comment.
But I'm still not able to install the support package.
Can anyone help me resolving the issue?

Ankur Bose

HI Maxime,
Can you post your email id so that I contact you to resolve the issue you are facing

I had the same error!!!

Hello Ankur
I have a MATLAB R2017b and I am trying to install the simulink support package for parrot minidrone however i keep recieving this error:
Failed to install the third-party software:
Bluetooth Utility
This is required by:
Simulink Support Package for PARROT Minidrones
To resolve this issue, see this MATLAB Answer.
I did not fine any solution when following the suggested link
i am using mac osx and here is my email

Ankur Bose

Hi All,
Installation of the support package might fail for MAC OS and Linux platforms in R2018a . Please see this Bug Report for detail:

Workaround for the issue:
Execute a userpath('reset') command in MATLAB and then try installing again

Hello Ankur here is my email
Thanks best regards

Ankur Bose

Hello Wilfrid Perruquetti ,
I will assist you in resolving the issue that you are facing. Can you please share with me with an email id through which I can reach you and help you out ?


Hello Ankur,

I updated Matlab to the latest version 2018a and try to install "Simulink Support Package for PARROT Minidrones"
but I got the following error (I did it at least 15 times):
Install Error
Failed to install the third-party software:
Bluetooth Utility
This is required by:
Simulink Support Package for PARROT Minidrones

To resolve this issue, see this MATLAB Answer.
I did not fine any solution when following the suggested link.

I am professor at Ecole Centrale in France and I need this package for my control & robotics course for my students. Thank you for your help. Best regards


Hello Ankur.
According to your instructions
When I updated MATLAB R2017b, I was able to fly manbo as model. Thank you very much.

Ankur Bose

Hi Tomo,
In MATLAB R2017b, in order to use the 'asbQuadcopter' model that supports Parrot Mambo minidrone, you need to update the MATLAB. Please visit this the below link to download the R2017b update and install it.

After you have successfully installed this update, you can see the 'set Mambo Model' option in the project.

Regarding drone forcibly quitting when placed on the floor, ensure that the room where you are flying has sufficient illumination. If the surface is too reflective, it can also cause optical flow issue thus stopping the motors. Try putting the drone over a surface that is not too much reflective for ex- a carpet or a mat.


Sorry for the late reply. MATLAB version ' (R2017b)'. Support package version is '17 .2.3'. I am using windows 10.

Hi Everyone,
The R2018a version of MATLAB is live now. You can now use TCP/IP Receive, TCP/IP Send, UDP Receive, and UDP Send Blocks in the Simulink® Support Package for PARROT® Minidrones to communicate between your minidrone (rolling spider or mambo) and host machine.

Hi Tomo,

Which version of MATLAB/Support Package are you using?


Hello. I started studying Matlab on occasion that Parrot was supported. I am using Manbo, but I am facing a problem. The tutorial 'Parrot Getting Started', 'External Model' and 'asbQuadcopterStart Model' do not work properly. If you let Manbo run it with the ground on the floor, it forcibly ends within 1 second. It seems that the camera at the bottom of Manbo reacts to the floor and is forced to quit.
Please tell me the solution.
Also, after executing 'asbQuadcopterStart' with matlab, 'set manbo model' is not displayed in project shortcut. Is this normal?

Ankur Bose

Hi Jakub Popielarz,
The current MATLAB directory where you are trying to download the flight log, does it have sufficient space on it ?
Also since you are trying the support package version 17.2.3 in R2017b, try to download the flight log using the Flight Control UI after code deployment.
More information on how to deploy code and then use the Flight Control UI can be found in the documentation.


Dear Ankur,
I using 17.2.3 support package, R2017b MATLAB version and WINDOWS 10. I can deploy code from Simulink on the drone, but can not read logs. I have also tried to disable firewall and clear memory cache on drone.

Thank you very much Ankur Bose,
your link helped me solving the issue. Contrary to your mentioned IP adresses, I had to use


Ankur Bose

Hi Christian Tolks,
The issue most likely you are facing is that the Firewall of your system is blocking the FTP transfer over IP To verify if this is really the case and if yes, then in order to resolve the issue, please look into the below MATLAB answer.

The ftp and mput command as explained in the answer if fails, will confirm that FTP transfer is being blocked by Windows Firewall. In that case add the IP to firewall exception as mentioned in the above answer.


after successfully installation of support package, bluetooth PAN connection and compilation of the example parrot_gettingstarted.slx, I get following error:
Downloading shared object to PARROT Mambo....
Terminating the currently executing shared object (if any) ....
Connecting to FTP Server ....
Connected to FTP Server at successfully.
### Build procedure for model: 'parrot_gettingstarted' aborted due to an error.

The following error occurred during deployment to your hardware board:
Java exception occurred: Read timed out
at Method) at at at at sun.nio.cs.StreamDecoder.readBytes( at sun.nio.cs.StreamDecoder.implRead( at at at at at at at at at at at

This seems similar to Jakub's problem. I tried all solutions mentioned in the comments below, but without success. A FTP connection to the drone via external ftp client works and it is possible to write data on it. I can also see a file named with size 0kb in the root of the ftp folder structure.

I'm using Matlab 2017b, support package v17.2.3 with a Parrot Mambo under Win7.

Many thanks for inputs.

Ankur Bose

Hi Liling Ren,
On which platform (Windows, MAC OS or Linux) are you trying to install the support package ? You can also share your email-id so that I can contact you to resolve the issue you are facing.


L. Ren


The installation of the support package always fails because the third party Sourcery G++ Lite is no longer available. What is the workaround for this issue? For what architecture the C++ compiler should be?

Many thanks.

Ankur Bose

Hi Jakub Popielarz,
Can you let us know the version of the support package and the corresponding MATLAB version (R2017a or R2017b) you are using? The FTP error that you are seeing can be caused by multiple reasons such as firewall, memory issues on drone etc.
Can you check if you are able to deploy the code from Simulink on the drone or not?

I would like to ask if anyone have problems with reading flight logs/mat file. I have following error when pop flight log:
Error using codertarget.parrot.internal.parrotminidrone/getFlightLog (line 124)
Java exception occurred: IOException caught while copying.

Everything worked fine for me after reinstalling my BLE driver from my Bluetooth Dongle's CD. I have installed the driver from the zip file given by Mathworks in the setup steps. Hence, I'm able to deploy the generated code from Simulink to the mini-drone.
Otherwise, I observe something wrong with the mini-drone when the battery is under 50% of it's capacity, the mini-drone turns off and I have to put out and then put in the battery to be able to turn it on again, but after a moment, it turns off again and so on. Not sure what is causing this issue, if I get more information about, I'll leave a comment here. The solution is to fully charge the Battery to avoid this problem.

Dear Ankur,
Okay so here will be update on my progress with Package so far.
Throughout testing I am still using Windows 7 and package version
Firstly I have tried solution.
I know that technically if I am using newest version of the package it should be ok, but I wanted to give it a shot anyways. No success here.
Afterwards I tried solution.
Matlab ftp command threw no errors, so I went with reason 2 of that solution.
I have followed it through, but when I try mput(f,'') command I still get an error. Error I get : .
As suggested I have tried resetting drone to factory settings by holding power button and I have also tried manual removing data from /tmp folder with no success either.
The error I am getting when installing firmware is the same as last time.
So since I cannot get it to work using Windows I have tried Linux. And it worked well, the whole process.
But unfortunately I can't use Matlab with Linux for a prolonged time, because it is very unstable there - it crashes all the time ( but that is a bit unrelated problem).
So with firmware installed I have tested it on Windows again. This time I can't go through Bluetooth capability. I have adapter with Bluetooth Low Energy 4.0 capability. I have installed the drivers from the location given, however I still get message that Bluetooth support could not be detected.
At the same time I managed to connect to the drones Personal Arena Networking as outlined in the Documentation. But as far as I am aware I still need to complete Hardware setup, which I can't due to the fact that Bluetooth support could not be detected.
Sorry for such long post. Thank you in advance for any help. As I said it works perfectly on Linux so if there is nothing that can be done to fix it, I might try doing that and fixing stability issue of Matlab in Linux instead.
When it comes to contact my matlab ID is jakub530 or my email is

The issue still happened once in a while. However, bu performing a hard reset (hold power button down for 20-30 seconds) I was finally able to install the firmware correctly on my remaining drones. Thank you for the quick update!

Note to others: you will perhaps need to perform several hard resets before the installation works. But it worked for me with all my drones.

Jeremie Pilon

Ankur Bose

Hi Yanis Bouhraoua,
Can you please let us know the exact error that you are getting while connecting to Bluetooth? It would be good if you can share the snapshot. You can also share your email-id so that I can contact you to resolve the issue you are facing.


Ankur Bose

Hi All,
For those users who have been unable to successfully update the firmware on their Parrot Rolling Spider, we reached out to Parrot Inc and they gave us a workaround.
The workaround has already been published in R2017b in the support package version 17.2.3.
Please upgrade your support package version to 17.2.3 in R2017b and perform the hardware setup for Parrot Rolling Spider once more.

Alternatively, you can also follow the steps mentioned in this MATLAB answer by Ankur Bose on 29 January 2018.


Ankur Bose

Hi Jakub Jaroszewski,
Can you please share your email-id through which I can contact you so that I can help you out with the problem you are facing?
Also can you take a look at the below MATLAB answer to see if your issue is resolved?


Update: After reinstalling the package I managed to get to the later point of installation with "Hardware Setup Error" - Java exepction occured.
Screenshot with full error report

I am having the same problems as Yanis Bouhraoua and Jeremie Pilon. I have managed to install firmware in the past on one of the drones I own, but now when I am trying to install firmware on different drone I get "Hardware Setup Error" every single time. Firmware on the old drone still works and whenever I run setup with old drone firmware is being recognized.

Can you tell me, when can we expect an update, since I am doing a project with specified deadline, which relies on firmware working.
I am using Windows 7, Matlab 2017b and newest version of support package I have also tried it on Linux with no success either.

I'm encountering the exact same problem as Jeremie Pilon. I tried several time to connect my PARROT Rolling Spider by bluetooth and it fails each time whith a unexpected error. I did my attempts after installing the firmware from the new version of this support package (

Ankur Bose

Hi Jeremie,
We have contacted Parrot Inc. for the firmware update failure in case of Rolling Spider and they have provided us a workaround for the issue. We will have an update soon for the support package in R2017b with the resolution.
If you do not wish to wait for the update, please let me know the platform (Windows, MAC or Linux ?) on which you are working with the support package and the MATLAB version and I will help you with the steps to update the firmware of the drone successfully.


Is it possible to have access to older version of the file? There is a problem with the installation of the firmware with the newest version on the parrot rolling spider. Please provide all previous version to help in the debugging. With a previous version, I was able to successfully install the firmware, but not connect via bluetooth. With the newest version, I can't install the firmware, but the bluetooth functions properly.

Hi Everyone,

The support for Parrot Mambo Minidrone is available with 17b version of support package. You can download and Please try and let us know your feedback.


I want to use this in the future for the Mambo (which I know is coming soon). It would be great if the example model was included as part of the hardware support package as well so that an aerospace blockset license is not required. The purpose of this package is to encourage experimentation by hobbyists and so providing the example project as part of that would be great.

Hi All,
You can have a look at the Post by Guy Rouleau on the topic "Programming a PARROT Minidrone using Simulink".
Here is the link to the post :

Hi All,
Now, You can download the latest version of the support package (17.2.1) for the 17b release of MATLAB.
Here are the updates:
- External mode over BLE.
- Updated Getting started example.
- Flight Control UI to be used once after downloading the Simulink generated code to drone
(Useful to Start,Stop the drone and also you can see options to set Power gain, Simulation time and buttons to retrieve the flight log and MAT file). (MATLAB Command to launch Flight Interface : Parrot_FlightInterface)

We are working on adding support for Parrot Mambo minidrone to the support package which will be available in January.

Hi Luís Mesquita,

The Simulink Support Package for Parrot Minidrones is supported from MATLAB 2017a release on wards only. You can work with Rolling spider Minidrone only for 2017a version of support package. If you can upgrade the MATLAB, I recommend you to update to MATLAB R2017b release instead of 2017a. We are working on adding support for Parrot Mambo Minidrones in 2017b version of support package. Please stay tuned to this page if you are interested in the usage of Parrot Mambo. If you would like to work with rolling spider, the minimum version of MATLAB release is 2017a. Please let me know if you need any more information.

It doesn't work in my MATLAB 2016b. Any help? I am not able to install the Simulink Support Package for PARROT Minidrones.

17.2.0 version of support package (compatible with R2017b) is out with Getting started Example.
Here is the link for the example to get started with support package in 17b.

I have the exact same problem and I cannot set up the hardware.
Are there any updates on this issue?

OS, MATLAB: Windows 10 Education, MATLAB R2017a

Hi Ankur!

Thank you for response. The results of actions you suggested:
1. I connect drone to PC, one LED is RED, the other is GREEN
2. I see a drive "Parrot_RS (E:)" in "My computer"
3. I run commands:
o = matlab.hwmgr.internal.hwconnection.USBDeviceEnumerator
and "ans" variable is "0×0 empty cell array"
4. I type the command "wmic" in command prompt, then the "logicaldisk" command (without any error occure)
5. I see a list of my drives and one of them is my Rolling Spider:
Access : 0
Caption : E:
Compressed : FALSE
CreationClassName : Win32_LogicalDisk
Description : Removable Disk
DeviceID : E:
DriveType : 2
FileSystem : FAT32
FreeSpace : 33444864
MaximumComponentLength : 255
Name : E:
Size : 34063360
SupportsDiskQuotas : FALSE
SupportsFileBasedCompression : FALSE
SystemCreationClassName : Win32_ComputerSystem
SystemName : LAPTOP-6M4RG4CC
VolumeDirty : FALSE
VolumeName : Parrot_RS
VolumeSerialNumber : 10
6. I execute
o = matlab.hwmgr.internal.hwconnection.USBDeviceEnumerator
and "ans" variable is still "0×0 empty cell array"
7. I run "NET.isNETSupported" on MATLAB command window and the result is "logical 1"

What else can I do?

Ankur Bose

Hi Pavel,
When the Rolling Spider minidrone is connected to the PC over USB, there is a timeout period after which the drone automatically disconnects from PC. It disappears from the drive list also and you cannot see the drone mount point anymore. A simple way to know if your Rolling Spider is connected to PC is to check the LEDs. When the minidrone is connected to PC over USB, the LEDs blink for a moment and after that one LED stabilizes to GREEN and other to RED. When the timeout happens and the minidrone disconnects, the GREEN LED (or both the LEDs in some case) turns off. You cannot see the minidrone mount point in the Windows anymore . If that happens, reconnect the minidrone over USB, wait for the LEDs to stabilize to one GREEN and one RED and then search for drone in the setup application. The timeout period is typically observed to be around 60 seconds.
If you find that the minidrone is connected to PC but the setup application is still failing to detect the minidrone, please check the following things
1. Check if it is being shown in the Windows drive list and has a drive associated with it in "My Computer". Also run the below command in MATLAB and see if drone is listed in output.
o = matlab.hwmgr.internal.hwconnection.USBDeviceEnumerator

If drive is present in my computer and not in the result of o.getMountPoints, then the problem is with API.

1) First check is .NET is installed properly. Execute "NET.isNETSupported" on MATLAB command window.
2) Second check if WMI is enabled for the Windows machine. Type the command "wmic" in command prompt . This should not through any error. Once you are in wmic , try "logicaldisk" command.
Let us know your observations

Thank you, Jagadeesh.
By the way, how was you able to leverage with Support Package setup on Windowns machine?
Setup application don't see my Rolling Spider at all.
I realize that problem in a disability of MATLAB to find my drone as a mount point. When I run this commands with the drone connected:
usbDevices = matlab.hwmgr.internal.hwconnection.USBDeviceEnumerator;
the last one returns an empty cell array. BUT on Linux machine all is well. And even command "usbDevices.getAttachedDevices" in Windows show me my drone connected, "usbDevices.getMountPoints" returns empty result.
I even have tried to make mount point for drone myself in Windows (i.e. C:\MountPoints\RS) but with no success.
Have you been facing problems like that?

Hi Pavel,

We are working on supporting Mambo in the future release of this support package. We will let you know once we add support for the Mambo minidrone.
We used Cirolink® Bluetooth 4.0 USB Adapter (and CSR Harmony Wireless Software Stack v. drivers) to test it on Windows7 and Windows 10. We have seen that all the bluetooth adapters are not having the PAN GN functionality. We will let you know once we find any solution for the adapters which are not having PAN GN functionality.

Thanks Ankur! It's quite confusing that submission has a Minidrone Mambo on cover image.

BTW did you test it in Windows 10?
I try but in Win 10 I'm not able to make GN connection via bluetooth and Hardware setup tool can't detect my Rolling Spider (even with the appropriate RNDIS driver for USB connection).

Ankur Bose

Hi Pavel,
In 17.1.0 version , only PARROT Rolling Spider is supported.

This is for Minidrone Mamboo only or RollingSpider is suitable too?

MATLAB Release Compatibility
Created with R2017a
Compatible with R2017a to R2019a
Platform Compatibility
Windows macOS Linux

Discover Live Editor

Create scripts with code, output, and formatted text in a single executable document.

Learn About Live Editor