[討論] RS232 Busy

看板MATLAB作者 (麵T)時間12年前 (2013/11/11 15:10), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/1
想利用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)
文章代碼(AID): #1IW8B8S0 (MATLAB)