send serially 1s from computer.

1 view (last 30 days)
777
777 on 10 Mar 2012
i m trying to do something in matlab ,where whenever the result is true serially 1 should be sent from the serial port.what should i do for this.plss help
thanks

Accepted Answer

Walter Roberson
Walter Roberson on 10 Mar 2012
while ResultIsTrue()
fwrite(SerialPort, char(1));
end

More Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!