[討論] RS232 Busy
想利用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)