| Products & Services | Solutions | Academia | Support | User Community | Company |
| Download Product Updates | | | Get Pricing | | | Trial Software |
| Documentation → MATLAB |
| Contents | Index |
| Learn more about MATLAB |
You configure OutputEmptyFcn to execute an M-file callback function when an output-empty event occurs. An output-empty event is generated when the last byte is sent from the output buffer to the device.
If the RecordStatus property value is on, and an output-empty event occurs, the record file records this information:
The event type as OutputEmpty
The time the event occurred using the format day-month-year hour:minute:second:millisecond
To learn how to create a callback function, see Creating and Executing Callback Functions.
Read only | Never |
Data type | Callback function |
The default value is an empty string.
![]() | OutputBufferSize | Parity | ![]() |

Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.
| © 1984-2009- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |