如题所述
第1个回答 2016-12-21
o use the COM-Port to get serial data from a
extern electronic. But on my PC in Matlab I don't get
access to the port. The message is:
-----------------
>> s = serial('COM1', 'BaudRate', 9600)
-----------------
>> fopen(s)
??? Error using ==> serial.fopen
Port: COM1 is not available. Available ports: COM2.
Use INSTRFIND to determine if other instrument objects
are connected to the reques本回答被提问者采纳
extern electronic. But on my PC in Matlab I don't get
access to the port. The message is:
-----------------
>> s = serial('COM1', 'BaudRate', 9600)
-----------------
>> fopen(s)
??? Error using ==> serial.fopen
Port: COM1 is not available. Available ports: COM2.
Use INSTRFIND to determine if other instrument objects
are connected to the reques本回答被提问者采纳