[res,objs]=vrep.simxGetObjects(clientID,vrep.sim_handle_all,vrep.simx_opmode_oneshot_wait); [returnCode, copter] = vrep.simxGetObjectHandle(clientID,'Quadricopter ...
% 3- Run this script from MATLAB.