MATLAB Examples

getStatus

Returns requested status parameters

Contents

Syntax

res = e.getStatus(parameters);

Description

e.getStatus(parameters) Returns requested status parameters.

Examples

  • Get the oversampling rate
  • if (~exist('e', 'var'))
            e = engduino();
    end
    res = e.getStatus(e.STATUS_OVERSAMPLING)
    

    Input Arguments

    parameters parameters = [KEY1, KEY2, ... , KEYn]

    Output Arguments

    res res = [KEY1, VALUE1; KEY2, VALUE2; ... ; KEYn, VALUEn]