Serial timeout before terminator
显示 更早的评论
hi,
s = serial('COM1');
set(s,'BaudRate',4800);
fopen(s);
fprintf(s,'something to send')
out = fscanf(s);
fclose(s); delete(s);
I am using pic16f877a with matlab. I loaded this above code in matlab. but in command window, i am getting
Warning: A timeout occurred before the Terminator was reached.
what is this problem, how will transmit data's to pic and where can i see the received data?
pls help me, i am in need of.....
1 个评论
Ecem Çetinyol
2019-7-2
Did you find any solution? I have the same problem now.
回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Instrument Control Toolbox Supported Hardware 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!