I'm using Matlab 2013a and the fopen(serial) command takes a long time to execute. It used to run smoothly when I had installed it but now, it seems opening ports is getting slower. eg code:
port=serial('com1');
fopen(port);
the second command takes forever to execute. What might be the problem?
P.S: I tried re-installing Matlab but it did not work.
Problem solved. I switched off all my wireless networks and now it opens easily. I had a lot of unknown bluetooth devices in my device manager.
FIX: Switching off blue tooth and/or disabling any COMs that are not being used from the device manager.