//
// MATLAB Compiler: 2.2
// Date: Wed Mar 10 16:44:47 2004
// Arguments: "-B" "macro_default" "-O" "all" "-O" "fold_scalar_mxarrays:on"
// "-O" "fold_non_scalar_mxarrays:on" "-O" "optimize_integer_for_loops:on" "-O"
// "array_indexing:on" "-O" "optimize_conditionals:on" "-p" "-W" "main" "-L"
// "Cpp" "-t" "-T" "link:exe" "-h" "libmmfile.mlib" "-B" "sglcpp" "-p" "-W"
// "main" "-L" "Cpp" "-t" "-T" "link:exe" "-h" "libmmfile.mlib" "-W" "mainhg"
// "libmwsglm.mlib" "hier_community.m" "Default.m" "Stop_Simulation.m"
// "Call_SaveLoad_Fig.m" "SaveLoad_Fig.m" "SaveLoad.m" "Load_Population_Data.m"
// "Save_Population_Data.m" "Start_hier_community.m" "MyInline.m" "My_Eval.m"
// "isnumber.m" "Find_Var.m" "Change_Number_of_Populations.m"
// "Switch_Populations.m" "Store_Parameters.m" 
//
#include "SaveLoad_Fig.hpp"
#include "libmatlbm.hpp"

static mxChar _array1_[142] = { 'R', 'u', 'n', '-', 't', 'i', 'm', 'e', ' ',
                                'E', 'r', 'r', 'o', 'r', ':', ' ', 'F', 'i',
                                'l', 'e', ':', ' ', 'S', 'a', 'v', 'e', 'L',
                                'o', 'a', 'd', '_', 'F', 'i', 'g', ' ', 'L',
                                'i', 'n', 'e', ':', ' ', '1', ' ', 'C', 'o',
                                'l', 'u', 'm', 'n', ':', ' ', '1', ' ', 'T',
                                'h', 'e', ' ', 'f', 'u', 'n', 'c', 't', 'i',
                                'o', 'n', ' ', '"', 'S', 'a', 'v', 'e', 'L',
                                'o', 'a', 'd', '_', 'F', 'i', 'g', '"', ' ',
                                'w', 'a', 's', ' ', 'c', 'a', 'l', 'l', 'e',
                                'd', ' ', 'w', 'i', 't', 'h', ' ', 'm', 'o',
                                'r', 'e', ' ', 't', 'h', 'a', 'n', ' ', 't',
                                'h', 'e', ' ', 'd', 'e', 'c', 'l', 'a', 'r',
                                'e', 'd', ' ', 'n', 'u', 'm', 'b', 'e', 'r',
                                ' ', 'o', 'f', ' ', 'o', 'u', 't', 'p', 'u',
                                't', 's', ' ', '(', '1', ')', '.' };
static mwArray _mxarray0_ = mclInitializeString(142, _array1_);

static mxChar _array3_[141] = { 'R', 'u', 'n', '-', 't', 'i', 'm', 'e', ' ',
                                'E', 'r', 'r', 'o', 'r', ':', ' ', 'F', 'i',
                                'l', 'e', ':', ' ', 'S', 'a', 'v', 'e', 'L',
                                'o', 'a', 'd', '_', 'F', 'i', 'g', ' ', 'L',
                                'i', 'n', 'e', ':', ' ', '1', ' ', 'C', 'o',
                                'l', 'u', 'm', 'n', ':', ' ', '1', ' ', 'T',
                                'h', 'e', ' ', 'f', 'u', 'n', 'c', 't', 'i',
                                'o', 'n', ' ', '"', 'S', 'a', 'v', 'e', 'L',
                                'o', 'a', 'd', '_', 'F', 'i', 'g', '"', ' ',
                                'w', 'a', 's', ' ', 'c', 'a', 'l', 'l', 'e',
                                'd', ' ', 'w', 'i', 't', 'h', ' ', 'm', 'o',
                                'r', 'e', ' ', 't', 'h', 'a', 'n', ' ', 't',
                                'h', 'e', ' ', 'd', 'e', 'c', 'l', 'a', 'r',
                                'e', 'd', ' ', 'n', 'u', 'm', 'b', 'e', 'r',
                                ' ', 'o', 'f', ' ', 'i', 'n', 'p', 'u', 't',
                                's', ' ', '(', '0', ')', '.' };
static mwArray _mxarray2_ = mclInitializeString(141, _array3_);

static mxChar _array5_[12] = { 'S', 'a', 'v', 'e', 'L', 'o',
                               'a', 'd', '_', 'F', 'i', 'g' };
static mwArray _mxarray4_ = mclInitializeString(12, _array5_);

static mxChar _array7_[5] = { 'U', 'n', 'i', 't', 's' };
static mwArray _mxarray6_ = mclInitializeString(5, _array7_);

static mxChar _array9_[10] = { 'n', 'o', 'r', 'm', 'a',
                               'l', 'i', 'z', 'e', 'd' };
static mwArray _mxarray8_ = mclInitializeString(10, _array9_);

static mxChar _array11_[5] = { 'C', 'o', 'l', 'o', 'r' };
static mwArray _mxarray10_ = mclInitializeString(5, _array11_);

static double _array13_[3] = { .8, .8, .8 };
static mwArray _mxarray12_ = mclInitializeDoubleVector(1, 3, _array13_);

static mxChar _array15_[8] = { 'C', 'o', 'l', 'o', 'r', 'm', 'a', 'p' };
static mwArray _mxarray14_ = mclInitializeString(8, _array15_);

static mxChar _array17_[8] = { 'F', 'i', 'l', 'e', 'N', 'a', 'm', 'e' };
static mwArray _mxarray16_ = mclInitializeString(8, _array17_);

static mxChar _array19_[13] = { 'P', 'a', 'p', 'e', 'r', 'P', 'o',
                                's', 'i', 't', 'i', 'o', 'n' };
static mwArray _mxarray18_ = mclInitializeString(13, _array19_);

static double _array21_[4] = { 18.0, 180.0, 576.0, 432.0 };
static mwArray _mxarray20_ = mclInitializeDoubleVector(1, 4, _array21_);

static mxChar _array23_[10] = { 'P', 'a', 'p', 'e', 'r',
                                'U', 'n', 'i', 't', 's' };
static mwArray _mxarray22_ = mclInitializeString(10, _array23_);

static mxChar _array25_[6] = { 'p', 'o', 'i', 'n', 't', 's' };
static mwArray _mxarray24_ = mclInitializeString(6, _array25_);

static mxChar _array27_[8] = { 'P', 'o', 's', 'i', 't', 'i', 'o', 'n' };
static mwArray _mxarray26_ = mclInitializeString(8, _array27_);

static double _array29_[4] = { .2265625, .3567708333333333, .5625, .4765625 };
static mwArray _mxarray28_ = mclInitializeDoubleVector(1, 4, _array29_);

static mxChar _array31_[3] = { 'T', 'a', 'g' };
static mwArray _mxarray30_ = mclInitializeString(3, _array31_);

static mxChar _array33_[12] = { 'F', 'i', 'g', '_', 's', 'a',
                                'v', 'e', 'l', 'o', 'a', 'd' };
static mwArray _mxarray32_ = mclInitializeString(12, _array33_);

static mxChar _array35_[7] = { 'T', 'o', 'o', 'l', 'B', 'a', 'r' };
static mwArray _mxarray34_ = mclInitializeString(7, _array35_);

static mxChar _array37_[4] = { 'n', 'o', 'n', 'e' };
static mwArray _mxarray36_ = mclInitializeString(4, _array37_);

static mxChar _array39_[8] = { 'U', 's', 'e', 'r', 'D', 'a', 't', 'a' };
static mwArray _mxarray38_ = mclInitializeString(8, _array39_);

static mxChar _array41_[6] = { 'P', 'a', 'r', 'e', 'n', 't' };
static mwArray _mxarray40_ = mclInitializeString(6, _array41_);

static mxChar _array43_[15] = { 'B', 'a', 'c', 'k', 'g', 'r', 'o', 'u',
                                'n', 'd', 'C', 'o', 'l', 'o', 'r' };
static mwArray _mxarray42_ = mclInitializeString(15, _array43_);

static double _array45_[3] = { 0.0, 0.0, 1.0 };
static mwArray _mxarray44_ = mclInitializeDoubleVector(1, 3, _array45_);

static mxChar _array47_[10] = { 'L', 'i', 's', 't', 'b',
                                'o', 'x', 'T', 'o', 'p' };
static mwArray _mxarray46_ = mclInitializeString(10, _array47_);
static mwArray _mxarray48_ = mclInitializeDouble(0.0);

static double _array50_[4] = { .4688888888888889, .003496503496503497,
                               .5288888888888889, .7867132867132867 };
static mwArray _mxarray49_ = mclInitializeDoubleVector(1, 4, _array50_);

static mxChar _array52_[5] = { 'S', 't', 'y', 'l', 'e' };
static mwArray _mxarray51_ = mclInitializeString(5, _array52_);

static mxChar _array54_[5] = { 'f', 'r', 'a', 'm', 'e' };
static mwArray _mxarray53_ = mclInitializeString(5, _array54_);

static mxChar _array56_[6] = { 'F', 'r', 'a', 'm', 'e', '1' };
static mwArray _mxarray55_ = mclInitializeString(6, _array56_);

static double _array58_[3] = { 1.0, 1.0, 1.0 };
static mwArray _mxarray57_ = mclInitializeDoubleVector(1, 3, _array58_);

static mxChar _array60_[8] = { 'C', 'a', 'l', 'l', 'b', 'a', 'c', 'k' };
static mwArray _mxarray59_ = mclInitializeString(8, _array60_);

static mxChar _array62_[25] = { 'S', 'a', 'v', 'e', 'L', 'o', 'a', 'd', '(',
                                0x0027, 'D', 'I', 'S', 'P', 'L', 'A', 'Y',
                                '_', 'F', 'I', 'L', 'E', 0x0027, ')', ';' };
static mwArray _mxarray61_ = mclInitializeString(25, _array62_);

static double _array64_[4] = { .04444444444444444, .06643356643356643,
                               .4044444444444444, .7202797202797203 };
static mwArray _mxarray63_ = mclInitializeDoubleVector(1, 4, _array64_);

static mxChar _array66_[6] = { 'S', 't', 'r', 'i', 'n', 'g' };
static mwArray _mxarray65_ = mclInitializeString(6, _array66_);

static mxChar _array68_[7] = { 'l', 'i', 's', 't', 'b', 'o', 'x' };
static mwArray _mxarray67_ = mclInitializeString(7, _array68_);

static mxChar _array70_[13] = { 'L', 'i', 's', 't', 'b', 'o', 'x',
                                '_', 'f', 'i', 'l', 'e', 's' };
static mwArray _mxarray69_ = mclInitializeString(13, _array70_);

static mxChar _array72_[5] = { 'V', 'a', 'l', 'u', 'e' };
static mwArray _mxarray71_ = mclInitializeString(5, _array72_);
static mwArray _mxarray73_ = mclInitializeDouble(6.0);

static mxChar _array75_[9] = { 'F', 'o', 'n', 't', 'U', 'n', 'i', 't', 's' };
static mwArray _mxarray74_ = mclInitializeString(9, _array75_);

static mxChar _array77_[8] = { 'F', 'o', 'n', 't', 'S', 'i', 'z', 'e' };
static mwArray _mxarray76_ = mclInitializeString(8, _array77_);
static mwArray _mxarray78_ = mclInitializeDouble(.5333333333333333);

static mxChar _array80_[15] = { 'F', 'o', 'r', 'e', 'g', 'r', 'o', 'u',
                                'n', 'd', 'C', 'o', 'l', 'o', 'r' };
static mwArray _mxarray79_ = mclInitializeString(15, _array80_);

static double _array82_[4] = { .04666666666666667, .8286713286713286,
                               .8955555555555555, .1118881118881119 };
static mwArray _mxarray81_ = mclInitializeDoubleVector(1, 4, _array82_);

static mxChar _array84_[12] = { 'L', 'O', 'A', 'D', 'I', 'N',
                                'G', ' ', 'D', 'A', 'T', 'A' };
static mwArray _mxarray83_ = mclInitializeString(12, _array84_);

static mxChar _array86_[4] = { 't', 'e', 'x', 't' };
static mwArray _mxarray85_ = mclInitializeString(4, _array86_);

static mxChar _array88_[16] = { 'S', 't', 'a', 't', 'i', 'c', 'T', 'e',
                                'x', 't', '_', 't', 'i', 't', 'l', 'e' };
static mwArray _mxarray87_ = mclInitializeString(16, _array88_);

static double _array90_[3] = { .752941176470588, .752941176470588,
                               .752941176470588 };
static mwArray _mxarray89_ = mclInitializeDoubleVector(1, 3, _array90_);

static mxChar _array92_[21] = { 'S', 'a', 'v', 'e', 'L', 'o', 'a', 'd',
                                '(', 0x0027, 'C', 'H', 'A', 'N', 'G',
                                'E', 'D', 'I', 'R', 0x0027, ')' };
static mwArray _mxarray91_ = mclInitializeString(21, _array92_);

static double _array94_[4] = { .4982638888888888, .639344262295082,
                               .4635416666666666, .07103825136612021 };
static mwArray _mxarray93_ = mclInitializeDoubleVector(1, 4, _array94_);

static mxChar _array96_[9] = { 'p', 'o', 'p', 'u', 'p', 'm', 'e', 'n', 'u' };
static mwArray _mxarray95_ = mclInitializeString(9, _array96_);

static mxChar _array98_[19] = { 'P', 'o', 'p', 'u', 'p', 'M', 'e',
                                'n', 'u', '_', 'd', 'i', 'r', 'e',
                                'c', 't', 'o', 'r', 'y' };
static mwArray _mxarray97_ = mclInitializeString(19, _array98_);
static mwArray _mxarray99_ = mclInitializeDouble(1.0);

static double _array101_[4] = { .5577777777777777, .1608391608391608,
                                .3866666666666667, .06993006993006994 };
static mwArray _mxarray100_ = mclInitializeDoubleVector(1, 4, _array101_);

static mxChar _array103_[9] = { 'D', 'A', 'T', 'A', '2', '.', 'M', 'A', 'T' };
static mwArray _mxarray102_ = mclInitializeString(9, _array103_);

static mxChar _array105_[4] = { 'e', 'd', 'i', 't' };
static mwArray _mxarray104_ = mclInitializeString(4, _array105_);

static mxChar _array107_[13] = { 'E', 'd', 'i', 't', 'T', 'e', 'x',
                                 't', '_', 'f', 'i', 'l', 'e' };
static mwArray _mxarray106_ = mclInitializeString(13, _array107_);

static mxChar _array109_[3] = { '[', ' ', ']' };
static mwArray _mxarray108_ = mclInitializeString(3, _array109_);

static mxChar _array111_[14] = { 'S', 'a', 'v', 'e', 'L', 'o', 'a', 'd',
                                 '(', 0x0027, 'O', 'K', 0x0027, ')' };
static mwArray _mxarray110_ = mclInitializeString(14, _array111_);
static mwArray _mxarray112_ = mclInitializeDouble(.733333333333333);

static mxChar _array114_[10] = { 'F', 'o', 'n', 't', 'W',
                                 'e', 'i', 'g', 'h', 't' };
static mwArray _mxarray113_ = mclInitializeString(10, _array114_);

static mxChar _array116_[4] = { 'b', 'o', 'l', 'd' };
static mwArray _mxarray115_ = mclInitializeString(4, _array116_);

static double _array118_[4] = { .6311111111111111, .04895104895104895,
                                .2444444444444444, .06993006993006994 };
static mwArray _mxarray117_ = mclInitializeDoubleVector(1, 4, _array118_);

static mxChar _array120_[2] = { 'O', 'K' };
static mwArray _mxarray119_ = mclInitializeString(2, _array120_);

static mxChar _array122_[13] = { 'P', 'u', 's', 'h', 'b', 'u', 't',
                                 't', 'o', 'n', '_', 'o', 'k' };
static mwArray _mxarray121_ = mclInitializeString(13, _array122_);

static mxChar _array124_[27] = { 'S', 'a', 'v', 'e', 'L', 'o', 'a',
                                 'd', '(', 0x0027, 'M', 'A', 'N', 'U',
                                 'A', 'L', 'C', 'H', 'A', 'N', 'G',
                                 'E', 'D', 'I', 'R', 0x0027, ')' };
static mwArray _mxarray123_ = mclInitializeString(27, _array124_);
static mwArray _mxarray125_ = mclInitializeDouble(.3555555555555555);

static double _array127_[4] = { .4977777777777778, .6993006993006993,
                                .4644444444444444, .06993006993006994 };
static mwArray _mxarray126_ = mclInitializeDoubleVector(1, 4, _array127_);

static mxChar _array129_[15] = { 'E', 'd', 'i', 't', 'T', 'e', 'x', 't',
                                 '_', 'c', 'u', 'r', 'd', 'i', 'r' };
static mwArray _mxarray128_ = mclInitializeString(15, _array129_);

void InitializeModule_SaveLoad_Fig() {
}

void TerminateModule_SaveLoad_Fig() {
}

static mwArray MSaveLoad_Fig(int nargout_);

_mexLocalFunctionTable _local_function_table_SaveLoad_Fig
  = { 0, (mexFunctionTableEntry *)NULL };

//
// The function "NSaveLoad_Fig" contains the nargout interface for the
// "SaveLoad_Fig" M-function from file
// "C:\shu\hier_community_exe\SaveLoad_Fig.m" (lines 1-101). This interface is
// only produced if the M-function uses the special variable "nargout". The
// nargout interface allows the number of requested outputs to be specified via
// the nargout argument, as opposed to the normal interface which dynamically
// calculates the number of outputs based on the number of non-NULL inputs it
// receives. This function processes any input arguments and passes them to the
// implementation version of the function, appearing above.
//
mwArray NSaveLoad_Fig(int nargout) {
    mwArray fig(mclGetUninitializedArray());
    fig = MSaveLoad_Fig(nargout);
    return fig;
}

//
// The function "SaveLoad_Fig" contains the normal interface for the
// "SaveLoad_Fig" M-function from file
// "C:\shu\hier_community_exe\SaveLoad_Fig.m" (lines 1-101). This function
// processes any input arguments and passes them to the implementation version
// of the function, appearing above.
//
mwArray SaveLoad_Fig() {
    int nargout(1);
    mwArray fig(mclGetUninitializedArray());
    fig = MSaveLoad_Fig(nargout);
    return fig;
}

//
// The function "VSaveLoad_Fig" contains the void interface for the
// "SaveLoad_Fig" M-function from file
// "C:\shu\hier_community_exe\SaveLoad_Fig.m" (lines 1-101). The void interface
// is only produced if the M-function uses the special variable "nargout", and
// has at least one output. The void interface function specifies zero output
// arguments to the implementation version of the function, and in the event
// that the implementation version still returns an output (which, in MATLAB,
// would be assigned to the "ans" variable), it deallocates the output. This
// function processes any input arguments and passes them to the implementation
// version of the function, appearing above.
//
void VSaveLoad_Fig() {
    mwArray fig(mwArray::UNDEFINED);
    fig = MSaveLoad_Fig(0);
}

//
// The function "mlxSaveLoad_Fig" contains the feval interface for the
// "SaveLoad_Fig" M-function from file
// "C:\shu\hier_community_exe\SaveLoad_Fig.m" (lines 1-101). The feval function
// calls the implementation version of SaveLoad_Fig through this function. This
// function processes any input arguments and passes them to the implementation
// version of the function, appearing above.
//
void mlxSaveLoad_Fig(int nlhs, mxArray * plhs[], int nrhs, mxArray * prhs[]) {
    MW_BEGIN_MLX();
    {
        mwArray mplhs[1];
        mclCppUninitializeArrays(1, mplhs);
        if (nlhs > 1) {
            error(_mxarray0_);
        }
        if (nrhs > 0) {
            error(_mxarray2_);
        }
        mplhs[0] = MSaveLoad_Fig(nlhs);
        plhs[0] = mplhs[0].FreezeData();
    }
    MW_END_MLX();
}

//
// The function "MSaveLoad_Fig" is the implementation version of the
// "SaveLoad_Fig" M-function from file
// "C:\shu\hier_community_exe\SaveLoad_Fig.m" (lines 1-101). It contains the
// actual compiled code for that M-function. It is a static function and must
// only be called from one of the interface functions, appearing below.
//
//
// function fig = SaveLoad_Fig()
//
static mwArray MSaveLoad_Fig(int nargout_) {
    mwLocalFunctionTable save_local_function_table_
      (&_local_function_table_SaveLoad_Fig);
    mwArray fig(mclGetUninitializedArray());
    mwArray mat4(mwArray::UNDEFINED);
    mwArray mat3(mwArray::UNDEFINED);
    mwArray h1(mclGetUninitializedArray());
    mwArray h0(mclGetUninitializedArray());
    mwArray mat2(mwArray::UNDEFINED);
    mwArray mat1(mwArray::UNDEFINED);
    mwArray mat0(mwArray::UNDEFINED);
    mwArray ans(mclGetUninitializedArray());
    mwArray SaveLoad_Fig(mwArray::UNDEFINED);
    //
    // % This is the machine-generated representation of a Handle Graphics object
    // % and its children.  Note that handle values may change when these objects
    // % are re-created. This may cause problems with any callbacks written to
    // % depend on the value of the handle at the time the object was saved.
    // % This problem is solved by saving the output as a FIG-file.
    // %
    // % To reopen this object, just type the name of the M-file at the MATLAB
    // % prompt. The M-file and its associated MAT-file must be on your path.
    // % 
    // % NOTE: certain newer features in MATLAB may not have been saved in this
    // % M-file due to limitations of this format, which has been superseded by
    // % FIG-files.  Figures which have been annotated using the plot editor tools
    // % are incompatible with the M-file/MAT-file format, and should be saved as
    // % FIG-files.
    // 
    // load SaveLoad_Fig
    //
    loadc_(
      _mxarray4_,
      "SaveLoad_Fig",
      &SaveLoad_Fig,
      "ans",
      &ans,
      "fig",
      &fig,
      "h0",
      &h0,
      "h1",
      &h1,
      "mat0",
      &mat0,
      "mat1",
      &mat1,
      "mat2",
      &mat2,
      "mat3",
      &mat3,
      "mat4",
      &mat4,
      NULL);
    //
    // 
    // h0 = figure('Units','normalized', ...
    //
    h0
      = Nfigure(
          1,
          mwVarargin(
            _mxarray6_,
            _mxarray8_,
            _mxarray10_,
            _mxarray12_,
            _mxarray14_,
            mwVv(mat0, "mat0"),
            _mxarray16_,
            mwVv(mat1, "mat1"),
            _mxarray18_,
            _mxarray20_,
            _mxarray22_,
            _mxarray24_,
            _mxarray26_,
            _mxarray28_,
            _mxarray30_,
            _mxarray32_,
            _mxarray34_,
            _mxarray36_,
            _mxarray38_,
            mwVv(mat2, "mat2")));
    //
    // 'Color',[0.8 0.8 0.8], ...
    // 'Colormap',mat0, ...
    // 'FileName',mat1, ...
    // 'PaperPosition',[18 180 576 432], ...
    // 'PaperUnits','points', ...
    // 'Position',[0.2265625 0.3567708333333333 0.5625 0.4765625], ...
    // 'Tag','Fig_saveload', ...
    // 'ToolBar','none', ...
    // 'UserData',mat2);
    // h1 = uicontrol('Parent',h0, ...
    //
    h1
      = Nuicontrol(
          1,
          mwVarargin(
            _mxarray40_,
            mwVv(h0, "h0"),
            _mxarray6_,
            _mxarray8_,
            _mxarray42_,
            _mxarray44_,
            _mxarray46_,
            _mxarray48_,
            _mxarray26_,
            _mxarray49_,
            _mxarray51_,
            _mxarray53_,
            _mxarray30_,
            _mxarray55_));
    //
    // 'Units','normalized', ...
    // 'BackgroundColor',[0 0 1], ...
    // 'ListboxTop',0, ...
    // 'Position',[0.4688888888888889 0.003496503496503497 0.5288888888888889 0.7867132867132867], ...
    // 'Style','frame', ...
    // 'Tag','Frame1');
    // h1 = uicontrol('Parent',h0, ...
    //
    h1
      = Nuicontrol(
          1,
          mwVarargin(
            _mxarray40_,
            mwVv(h0, "h0"),
            _mxarray6_,
            _mxarray8_,
            _mxarray42_,
            _mxarray57_,
            _mxarray59_,
            _mxarray61_,
            _mxarray26_,
            _mxarray63_,
            _mxarray65_,
            mwVv(mat3, "mat3"),
            _mxarray51_,
            _mxarray67_,
            _mxarray30_,
            _mxarray69_,
            _mxarray71_,
            _mxarray73_));
    //
    // 'Units','normalized', ...
    // 'BackgroundColor',[1 1 1], ...
    // 'Callback','SaveLoad(''DISPLAY_FILE'');', ...
    // 'Position',[0.04444444444444444 0.06643356643356643 0.4044444444444444 0.7202797202797203], ...
    // 'String',mat3, ...
    // 'Style','listbox', ...
    // 'Tag','Listbox_files', ...
    // 'Value',6);
    // h1 = uicontrol('Parent',h0, ...
    //
    h1
      = Nuicontrol(
          1,
          mwVarargin(
            _mxarray40_,
            mwVv(h0, "h0"),
            _mxarray6_,
            _mxarray8_,
            _mxarray74_,
            _mxarray8_,
            _mxarray42_,
            _mxarray57_,
            _mxarray76_,
            _mxarray78_,
            _mxarray79_,
            _mxarray44_,
            _mxarray46_,
            _mxarray48_,
            _mxarray26_,
            _mxarray81_,
            _mxarray65_,
            _mxarray83_,
            _mxarray51_,
            _mxarray85_,
            _mxarray30_,
            _mxarray87_));
    //
    // 'Units','normalized', ...
    // 'FontUnits','normalized', ...
    // 'BackgroundColor',[1 1 1], ...
    // 'FontSize',0.5333333333333333, ...
    // 'ForegroundColor',[0 0 1], ...
    // 'ListboxTop',0, ...
    // 'Position',[0.04666666666666667 0.8286713286713286 0.8955555555555556 0.1118881118881119], ...
    // 'String','LOADING DATA', ...
    // 'Style','text', ...
    // 'Tag','StaticText_title');
    // h1 = uicontrol('Parent',h0, ...
    //
    h1
      = Nuicontrol(
          1,
          mwVarargin(
            _mxarray40_,
            mwVv(h0, "h0"),
            _mxarray6_,
            _mxarray8_,
            _mxarray74_,
            _mxarray8_,
            _mxarray42_,
            _mxarray89_,
            _mxarray59_,
            _mxarray91_,
            _mxarray76_,
            _mxarray78_,
            _mxarray46_,
            _mxarray48_,
            _mxarray26_,
            _mxarray93_,
            _mxarray65_,
            mwVv(mat4, "mat4"),
            _mxarray51_,
            _mxarray95_,
            _mxarray30_,
            _mxarray97_,
            _mxarray71_,
            _mxarray99_));
    //
    // 'Units','normalized', ...
    // 'FontUnits','normalized', ...
    // 'BackgroundColor',[0.752941176470588 0.752941176470588 0.752941176470588], ...
    // 'Callback','SaveLoad(''CHANGEDIR'')', ...
    // 'FontSize',0.5333333333333333, ...
    // 'ListboxTop',0, ...
    // 'Position',[0.4982638888888888 0.639344262295082 0.4635416666666666 0.07103825136612021], ...
    // 'String',mat4, ...
    // 'Style','popupmenu', ...
    // 'Tag','PopupMenu_directory', ...
    // 'Value',1);
    // h1 = uicontrol('Parent',h0, ...
    //
    h1
      = Nuicontrol(
          1,
          mwVarargin(
            _mxarray40_,
            mwVv(h0, "h0"),
            _mxarray6_,
            _mxarray8_,
            _mxarray74_,
            _mxarray8_,
            _mxarray42_,
            _mxarray57_,
            _mxarray76_,
            _mxarray78_,
            _mxarray46_,
            _mxarray48_,
            _mxarray26_,
            _mxarray100_,
            _mxarray65_,
            _mxarray102_,
            _mxarray51_,
            _mxarray104_,
            _mxarray30_,
            _mxarray106_,
            _mxarray38_,
            _mxarray108_));
    //
    // 'Units','normalized', ...
    // 'FontUnits','normalized', ...
    // 'BackgroundColor',[1 1 1], ...
    // 'FontSize',0.5333333333333333, ...
    // 'ListboxTop',0, ...
    // 'Position',[0.5577777777777777 0.1608391608391608 0.3866666666666667 0.06993006993006994], ...
    // 'String','DATA2.MAT', ...
    // 'Style','edit', ...
    // 'Tag','EditText_file', ...
    // 'UserData','[ ]');
    // h1 = uicontrol('Parent',h0, ...
    //
    h1
      = Nuicontrol(
          1,
          mwVarargin(
            _mxarray40_,
            mwVv(h0, "h0"),
            _mxarray6_,
            _mxarray8_,
            _mxarray74_,
            _mxarray8_,
            _mxarray42_,
            _mxarray89_,
            _mxarray59_,
            _mxarray110_,
            _mxarray76_,
            _mxarray112_,
            _mxarray113_,
            _mxarray115_,
            _mxarray46_,
            _mxarray48_,
            _mxarray26_,
            _mxarray117_,
            _mxarray65_,
            _mxarray119_,
            _mxarray30_,
            _mxarray121_));
    //
    // 'Units','normalized', ...
    // 'FontUnits','normalized', ...
    // 'BackgroundColor',[0.752941176470588 0.752941176470588 0.752941176470588], ...
    // 'Callback','SaveLoad(''OK'')', ...
    // 'FontSize',0.733333333333333, ...
    // 'FontWeight','bold', ...
    // 'ListboxTop',0, ...
    // 'Position',[0.6311111111111111 0.04895104895104895 0.2444444444444444 0.06993006993006994], ...
    // 'String','OK', ...
    // 'Tag','Pushbutton_ok');
    // h1 = uicontrol('Parent',h0, ...
    //
    h1
      = Nuicontrol(
          1,
          mwVarargin(
            _mxarray40_,
            mwVv(h0, "h0"),
            _mxarray6_,
            _mxarray8_,
            _mxarray74_,
            _mxarray8_,
            _mxarray42_,
            _mxarray57_,
            _mxarray59_,
            _mxarray123_,
            _mxarray76_,
            _mxarray125_,
            _mxarray46_,
            _mxarray48_,
            _mxarray26_,
            _mxarray126_,
            _mxarray51_,
            _mxarray104_,
            _mxarray30_,
            _mxarray128_));
    //
    // 'Units','normalized', ...
    // 'FontUnits','normalized', ...
    // 'BackgroundColor',[1 1 1], ...
    // 'Callback','SaveLoad(''MANUALCHANGEDIR'')', ...
    // 'FontSize',0.3555555555555555, ...
    // 'ListboxTop',0, ...
    // 'Position',[0.4977777777777778 0.6993006993006993 0.4644444444444444 0.06993006993006994], ...
    // 'Style','edit', ...
    // 'Tag','EditText_curdir');
    // if nargout > 0, fig = h0; end
    //
    if (nargout_ > 0) {
        fig = mwVsv(h0, "h0");
    }
    mwValidateOutput(fig, 1, nargout_, "fig", "SaveLoad_Fig");
    return fig;
}
