matlab - Is default '\n' line terminator can be changed? -
is default '\n' matlab line terminator can changed? can use ',' instead of '\n'? because serial port reading programmed terminate when ',' read.is possible? answers highly appreciated! in advance!
use eg:
ser = serial('com1'); % establish connection between matlab , com1 set(ser, 'terminator', 'cr'); % set communication string end on ascii 13
and replace 'cr'
','
see http://www.swarthmore.edu/natsci/ceverba1/class/e5/e5matlabexamples.html http://www.mathworks.co.uk/help/matlab/matlab_external/terminator.html
Comments
Post a Comment