ba_set_channel_bias#

Use an electrode for bias feedback in the next stream.

Function Signature#

function result = ba_set_channel_bias(channel_id)

Usage#

result = ba_set_channel_bias(channel_id)

Inputs#

channel_id

electrode measurement channel ID (1 + electrode index).

Outputs#

result

struct returned by the native MEX session command.

Example#

ba_set_channel_bias(1)

Notes#

Requires an active device connection and no running stream. Pick electrodes with good skin contact; one bias electrode is also recommended for impedance measurement. The selection applies to the next stream only: the device resets it when a stream stops or the device disconnects, so set it again before every ba_start_stream.

Source File#

matlab/ba_set_channel_bias.m