| MATLAB® | ![]() |
You configure BytesAvailableFcnCount to the number of bytes that must be available in the input buffer before a bytes-available event is generated.
Use the BytesAvailableFcnMode property to specify whether the bytes-available event occurs after a certain number of bytes are available or after a terminator is read.
The bytes-available event executes the M-file callback function specified for the BytesAvailableFcn property.
You can configure BytesAvailableFcnCount only when the object is disconnected from the device. You disconnect an object with the fclose function. A disconnected object has a Status property value of closed.
Read only | While open |
Data type | Double |
The default value is 48.
BytesAvailableFcn, BytesAvailableFcnMode, Status
![]() | BytesAvailableFcn | BytesAvailableFcnMode | ![]() |
| © 1984-2008- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |