Matlab throws this error if the IP address configured in the Drone (paramsEDU.dat) and in the rs.EthernetIPAdrees of the Parrot object are not the same.
This can be solved checking the IP address in the Drone via FTP and changing the value manually in the rs.EthernetIPAdrees variable.
IP address configured in the Drone
IP address configured in the Drone object in Matlab