作者noodleT (面T)
看板MATLAB
标题[讨论] RS232 Busy
时间Mon Nov 11 15:09:57 2013
想利用Matlab读取RS232的资料,参考程式码:
com = serial('COM3');
%fopen(com);
%fclose(com);
%delete(com);
这四行程式执行时会卡在 com = serial('COM3'),呈现Busy状态,
而且无法 Ctr+C 取消执行。
我有确定过 COM3 是正确的 COM
软体:Matlab 2011B、XP
补充:
如果使用 2012B 则会出现错误警告
Error using serial
The specified superclass 'icinterface' contains a parse error or cannot be
found on MATLAB's search path,
possibly shadowed by another file with the same name.
--
我是面T,哩贺
http://ppt.cc/-eS5
--
※ 发信站: 批踢踢实业坊(ptt.cc)
◆ From: 140.117.96.10
※ 编辑: noodleT 来自: 140.117.196.151 (11/11 19:29)