MATLAB Examples

setStatus

Set status settings

Contents

Syntax

e.getStatus(parameters);

Description

e.setStatus([parameter1,value1;..parameterN,valueN]) Set status settings.

Examples

  • Set oversampling rate
  • if (~exist('e', 'var'))
            e = engduino();
    end
    e.setStatus([e.STATUS_OVERSAMPLING, 10]);
    

    Input Arguments

    parameters parameters = [parameter1,value1;..parameterN,valueN]

    Output Arguments

    res Return status to indicate whether function has been executed (int) 0: OK, <0: Error code