ba_stop_stream#
Stop streaming.
Function Signature#
function result = ba_stop_stream()
Usage#
result = ba_stop_stream()
Outputs#
resultstruct returned by the native MEX session command.
Example#
ba_stop_stream()
Notes#
Requires an active device connection. The samples received since the last full chunk arrive as one last, shorter chunk before this returns; chunks not yet read stay buffered (result.buffered_chunks) and can still be read with ba_read_chunk until the next ba_start_stream or ba_disconnect. The device resets the stream configuration when the stream stops.
Source File#
matlab/ba_stop_stream.m