What happens to a string after it is written in serial port using fprintf?

1 view (last 30 days)
What will happen if a string is written to a serial port using fprintf? Does the string stays in the serial port unless deleted/flushed? Thanks for answering!

Accepted Answer

dpb
dpb on 5 Mar 2014
It disappears down the serial connection when transmitted...when/how that happens depends on how the port/connection is configured.
  2 Comments
Vanessa
Vanessa on 5 Mar 2014
Thanks for answering! But what do you mean with "depends on how the port/connection is configured"? Can you site examples?
dpb
dpb on 6 Mar 2014
Basically, the state of handshaking between the devices...hardware or software controlled.

Sign in to comment.

More Answers (0)

Products

Community Treasure Hunt

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

Start Hunting!