Matlab communication error
Posted: Sat Apr 14, 2018 9:29 am
Hi Matrix,
Coding :
global FA_BT;
FA_BT = Bluetooth('ALLCODE00106', 1);
fopen(FA_BT);
for cycle = 1:4
Forwards(100);
Right(90);
end
fclose(FA_BT);
Error:
>> Example2MotorTest
Error using icinterface/fopen (line 83)
Unsuccessful open: Cannot connect to the device. Possible reasons are another application is connected
or the device is not available.
Error in Example2MotorTest (line 3)
fopen(FA_BT);
Please give me the solution for this error asap.
thanks in advance
Coding :
global FA_BT;
FA_BT = Bluetooth('ALLCODE00106', 1);
fopen(FA_BT);
for cycle = 1:4
Forwards(100);
Right(90);
end
fclose(FA_BT);
Error:
>> Example2MotorTest
Error using icinterface/fopen (line 83)
Unsuccessful open: Cannot connect to the device. Possible reasons are another application is connected
or the device is not available.
Error in Example2MotorTest (line 3)
fopen(FA_BT);
Please give me the solution for this error asap.
thanks in advance