File: Datalogger4ChConverter_ErrInsensitiveSound_mexutil.c

    1   /*
    2    * Datalogger4ChConverter_ErrInsensitiveSound_mexutil.c
    3    *
    4    * Code generation for function 'Datalogger4ChConverter_ErrInsensitiveSound_mexutil'
    5    *
    6    */
    7   
    8   /* Include files */
    9   #include "rt_nonfinite.h"
   10   #include "Datalogger4ChConverter_ErrInsensitiveSound.h"
   11   #include "Datalogger4ChConverter_ErrInsensitiveSound_mexutil.h"
   12   #include "fread.h"
   13   #include <stdio.h>
   14   
   15   /* Function Definitions */
   16   real_T b_emlrt_marshallIn(const emlrtStack *sp, const mxArray *u, const
   17     emlrtMsgIdentifier *parentId)
   18   {
   19     real_T y;
   20     y = i_emlrt_marshallIn(sp, emlrtAlias(u), parentId);
   21     emlrtDestroyArray(&u);
   22     return y;
   23   }
   24   
   25   real_T emlrt_marshallIn(const emlrtStack *sp, const mxArray *d_feval, const
   26     char_T *identifier)
   27   {
   28     real_T y;
   29     emlrtMsgIdentifier thisId;
   30     thisId.fIdentifier = identifier;
   31     thisId.fParent = NULL;
   32     thisId.bParentIsCell = false;
   33     y = b_emlrt_marshallIn(sp, emlrtAlias(d_feval), &thisId);
   34     emlrtDestroyArray(&d_feval);
   35     return y;
   36   }
   37   
   38   const mxArray *emlrt_marshallOut(const real_T u)
   39   {
   40     const mxArray *y;
   41     const mxArray *m3;
   42     y = NULL;
   43     m3 = emlrtCreateDoubleScalar(u);
   44     emlrtAssign(&y, m3);
   45     return y;
   46   }
   47   
   48   real_T i_emlrt_marshallIn(const emlrtStack *sp, const mxArray *src, const
   49     emlrtMsgIdentifier *msgId)
   50   {
   51     real_T ret;
   52     static const int32_T dims = 0;
   53     emlrtCheckBuiltInR2012b(sp, msgId, src, "double", false, 0U, &dims);
   54     ret = *(real_T *)mxGetData(src);
   55     emlrtDestroyArray(&src);
   56     return ret;
   57   }
   58   
   59   /* End of code generation (Datalogger4ChConverter_ErrInsensitiveSound_mexutil.c) */
   60