send serially 1s from computer.

1 次查看(过去 30 天)
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

采纳的回答

Walter Roberson
Walter Roberson 2012-3-10
while ResultIsTrue()
fwrite(SerialPort, char(1));
end

更多回答(0 个)

Community Treasure Hunt

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

Start Hunting!

Translated by