Another little bit of progress:
I tried connecting the BITalino with Matlab on a Mac and it works fine. So it's something with Matlab and Windows. Does not help a lot in my case, but I thought it could be of interest to other people.
Specifically with Matlab on Windows: I found out, that Matlab can see the COM4 port under certain circumstances. When Matlab is running, shut off Bluetooth and BITalino. Then switch on Bluetooth and after that switch on the BITalino. Then run
, which is a function from Matlab Central. Then it shows COM3, COM4, COM5. Interestingly, when repeating
right afterwards, it again shows only COM3, COM5.
But when I do the same procedure but instead of
enter the following:
Error using serial/fopen (line 72)
Code: Select all
s = serial('COM4','BAUD',115200);
Open failed: Cannot connect to the COM4 port. Possible reasons are another
application is connected to the port or the port does not exist.
So, there is still an error, but a different one. Now when repeating
I get the old error:Error using serial/fopen (line 72)
Open failed: Port: COM4 is not available. Available ports: COM3, COM5.
Use INSTRFIND to determine if other instrument objects are connected to the requested device.