differnces beween serial port functions in release 2012a and 2013a
Show older comments
I have an issue with serial port communication in release 2013a. All my serial port communications work fine in 2012a (used daily for many devices), but in 2013a many commands produce an error (a wrong return code is received). I can set up the port and talk to it, but something happens during communication with the device. The software and hardware are idential and everything works in 2012a, but not in 2013a. Occationaly I do get commands through suggeting that there is a timing issue. (I believe I had the same in 2012b). I use the serial command to open the port and then write to it using fprintf.
I would greatly appreciate any suggestions how to solve this
Answers (1)
Same problem here too.
Can´t communicate to serial port, no ports are available. Under Linux and Windows, both give the same error.
Error using serial/fopen (line 72)
Open failed: Port: COM11 is not available. No ports are available.
Use INSTRFIND to determine if other instrument objects are connected to
the requested
device.
But if i take a look in the device-control, the arduino is present and i can communicate to it with the Arduino-IDE.
dam buggy Matlab 2013a !!!
Categories
Find more on Startup and Shutdown in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!