Matlab commands used:
com =
CreateSerialConnection?
open
CreateSerialConnection? .m
com =
CreateSerialConnection?
fread(com)
s=fread(com)
dec2char(s)
num2str
num2str(s)
s
char(s)
char(s)'
fread(com)
txt = fread(com)
char(txt)'
txt = fread(com)
char([49 48 48])
txt = fread(com)
fread(com)
fread(com,3)
get(com)
get(com,'BytesAvailable')
--
SamsonPhan - 10 Jun 2008