Skip to content

get_input_channels.m

Basic Information

  SYNTAX:  [channels,names] = get_input_channels(pcs_dir,input_signals)

  PURPOSE:  Fetch indices for PCS input signal channels, or provide names
            of input channels to choose from.

  INPUT:
    pcs_dir       = directory where PCS has already been built
    input_signals = cell array of selected input signal names or 'all'
                    to list all possible names in 2nd output argument

  OUTPUT:
    channels      = indices of selected signals
    names         = names of selected signals
    ind           = the indices in input_signals for which channels were found

Dependencies