matlab的串口总是打不开啊? 20
obj=serial('com1','baudrate',9600,'parity','none','databits',8,'stopbits',1);%初始化串口fo...
obj=serial('com1','baudrate',9600,'parity','none','databits',8,'stopbits',1);%初始化串口
fopen(obj);%打开串口对象
总是提示
??? Error using ==> serial.fopen at 71
Port: COM1 is not available. No ports are available.
Use INSTRFIND to determine if other instrument objects are connected to the requested device.
Error in ==> tiaoshi1 at 2
fopen(obj);%打开串口对象 展开
fopen(obj);%打开串口对象
总是提示
??? Error using ==> serial.fopen at 71
Port: COM1 is not available. No ports are available.
Use INSTRFIND to determine if other instrument objects are connected to the requested device.
Error in ==> tiaoshi1 at 2
fopen(obj);%打开串口对象 展开
展开全部
问题解决了吗 我也有这个问题,其他工具都可以打开,就matlab打不开
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
展开全部
你确定 有 com1 串口!
他说的 很清楚
Use INSTRFIND to determine if other instrument objects are connected to the requested device.
祝你顺利
他说的 很清楚
Use INSTRFIND to determine if other instrument objects are connected to the requested device.
祝你顺利
本回答被网友采纳
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询