ba_setup#

Add MATLAB paths and validate the BrainAccess MEX gateway.

Function Signature#

function config = ba_setup(varargin)

Usage#

cfg = ba_setup()
cfg = ba_setup(varargin)

Inputs#

varargin

accepted for backward compatibility and ignored.

Outputs#

cfg

struct describing the local MATLAB paths, MEX file, and runtime files.

Example#

cfg = ba_setup();
disp(cfg.mex_file)

Notes#

Adds the package matlab folder to the current MATLAB path, adds the examples folder when present, and verifies that the packaged native runtime files exist.

Source File#

matlab/ba_setup.m