Anyone out there who knows how to make Matlab work with serial communications?
I'm in the early stages of writing a matlab program to do inverse kinematics for a leggy kinda robot, and I want to get it to send the numbers to a picaxe via rs232 - seems fairly straightforward?
My test program is behaving wierdly
*code*
Picaxe = serial('COM4');
set(Picaxe,'BaudRate', 9600, 'DataBits', 8, 'Parity', 'none','StopBits', 1, 'FlowControl', 'none');
fopen(Picaxe);
fprintf(Picaxe,'1234');
Picaxe.ValuesSent
B = fread(Picaxe)