send serially 1s from computer.

1 Ansicht (letzte 30 Tage)
777
777 am 10 Mär. 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

Akzeptierte Antwort

Walter Roberson
Walter Roberson am 10 Mär. 2012
while ResultIsTrue()
fwrite(SerialPort, char(1));
end

Weitere Antworten (0)

Kategorien

Mehr zu Data Acquisition Toolbox Supported Hardware finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by