ba_set_channel_enabled#

Enable or disable a stream channel.

Function Signature#

function result = ba_set_channel_enabled(channel_id, enabled)

Usage#

result = ba_set_channel_enabled(channel_id, enabled)

Inputs#

channel_id

numeric channel identifier.

enabled

logical enable flag.

Outputs#

result

struct returned by the native MEX session command.

Example#

ba_set_channel_enabled(0, true)

Notes#

Requires an active device connection.

Source File#

matlab/ba_set_channel_enabled.m