[問題] rs232已回收
請問有人會rs232嗎?
%tmtool used for instrument tool box
text=':U500';
com = serial('com1');
fopen(com);
set(com,'terminator',{'CR/LF','CR/LF'});
fprintf(com,text);
%fprintf(com,'a');
%out = fscanf(com)
fclose(com);
fprintf('it is done.');
delete(com);
這是我們老師的原始程式碼
我現在要把存好檔案裡的座標值數據輸入進去這個程式
檔名為 coordinate.txt
讓步進馬達可以移動到對應的座標位置
因為我看不懂 不知如何下手
請問版上的高手們 我該怎麼進行呢??
謝謝啦!!
--
人生可貴朋友情 尋之當珍惜
世間難得知己心 得知且相惜
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 140.123.72.3
→
04/27 20:16, , 1F
04/27 20:16, 1F
→
04/28 08:21, , 2F
04/28 08:21, 2F
→
04/28 08:21, , 3F
04/28 08:21, 3F
→
04/28 08:22, , 4F
04/28 08:22, 4F
MATLAB 近期熱門文章
PTT數位生活區 即時熱門文章