#### File: repmat.c
        1   /*
        2    * File: repmat.c
        3    *
        4    * MATLAB Coder version            : 3.4
        5    * C/C++ source code generated on  : 27-Feb-2019 07:49:44
        6    */
        7
        8   /* Include Files */
        9   #include "rt_nonfinite.h"
       10   #include "MLS.h"
       11   #include "repmat.h"
       12   #include "MLS_emxutil.h"
       13
       14   /* Function Definitions */
       15
       16   /*
       17    * Arguments    : const double a[2]
       18    *                double varargin_1
       19    *                emxArray_real_T *b
       20    * Return Type  : void
       21    */
       22   void repmat(const double a[2], double varargin_1, emxArray_real_T *b)
       23   {
       24     int jcol;
       25     int ibmat;
       26     int itilerow;
       27     jcol = b->size[0] * b->size[1];
       28     b->size[0] = (int)varargin_1;
       29     b->size[1] = 2;
       30     emxEnsureCapacity_real_T(b, jcol);
       31     if (!((int)varargin_1 == 0)) {
       32       for (jcol = 0; jcol < 2; jcol++) {
       33         ibmat = jcol * (int)varargin_1;
       34         for (itilerow = 1; itilerow <= (int)varargin_1; itilerow++) {
       35           b->data[(ibmat + itilerow) - 1] = a[jcol];
       36         }
       37       }
       38     }
       39   }
       40
       41   /*
       42    * File trailer for repmat.c
       43    *
       44    * [EOF]
       45    */
       46