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
Matlab communication error
Re: Matlab communication error
Bulethooh setting.
global FA_BT;
%Change FA_XXXX to match the name of your FA device
FA_BT = Bluetooth('ALLCODE00106', 4);
%Run this script at least once before running the other scripts.
%Initialises the FA_BT global variable.
global FA_BT;
%Change FA_XXXX to match the name of your FA device
FA_BT = Bluetooth('ALLCODE00106', 4);
%Run this script at least once before running the other scripts.
%Initialises the FA_BT global variable.
- Benj
- Matrix Staff
- Posts: 15312
- Joined: Mon Oct 16, 2006 10:48 am
- Location: Matrix TS Ltd
- Has thanked: 4803 times
- Been thanked: 4314 times
- Contact:
Re: Matlab communication error
Hello,
Did you find the solution yourself or are you still having problems? Not sure if the 2nd post is a solution or a here is what I tried.
Did you find the solution yourself or are you still having problems? Not sure if the 2nd post is a solution or a here is what I tried.
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel