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

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

It disappears down the serial connection when transmitted...when/how that happens depends on how the port/connection is configured.

2 Comments

Thanks for answering! But what do you mean with "depends on how the port/connection is configured"? Can you site examples?
Basically, the state of handshaking between the devices...hardware or software controlled.

Sign in to comment.

More Answers (0)

Products

Asked:

on 5 Mar 2014

Commented:

dpb
on 6 Mar 2014

Community Treasure Hunt

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

Start Hunting!