//
// MATLAB Compiler: 2.2
// Date: Wed Mar 10 16:44:48 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 "libmatlb.hpp"
#include "libsglinit.hpp"
#include "hier_community.hpp"
#include "Default.hpp"
#include "Stop_Simulation.hpp"
#include "Call_SaveLoad_Fig.hpp"
#include "SaveLoad_Fig.hpp"
#include "SaveLoad.hpp"
#include "Load_Population_Data.hpp"
#include "Save_Population_Data.hpp"
#include "Start_hier_community.hpp"
#include "MyInline.hpp"
#include "My_Eval.hpp"
#include "isnumber.hpp"
#include "Find_Var.hpp"
#include "Change_Number_of_Populations.hpp"
#include "Switch_Populations.hpp"
#include "Store_Parameters.hpp"
#include "cla.hpp"
#include "mesh.hpp"
#include "title.hpp"
#include "xlabel.hpp"
#include "ylabel.hpp"
#include "parseparams.hpp"
#include "libmmfile.hpp"
#include "libmwsglm.hpp"

static mexFunctionTableEntry function_table[22]
  = { { "hier_community", mlxHier_community, 0, 1,
        &_local_function_table_hier_community },
      { "Default", mlxDefault, 0, 0, &_local_function_table_Default },
      { "Stop_Simulation", mlxStop_Simulation, 0, 0,
        &_local_function_table_Stop_Simulation },
      { "Call_SaveLoad_Fig", mlxCall_SaveLoad_Fig, 1,
        0, &_local_function_table_Call_SaveLoad_Fig },
      { "SaveLoad_Fig", mlxSaveLoad_Fig, 0, 1,
        &_local_function_table_SaveLoad_Fig },
      { "SaveLoad", mlxSaveLoad, -1, 0, &_local_function_table_SaveLoad },
      { "Load_Population_Data", mlxLoad_Population_Data, 1,
        0, &_local_function_table_Load_Population_Data },
      { "Save_Population_Data", mlxSave_Population_Data, 1,
        0, &_local_function_table_Save_Population_Data },
      { "Start_hier_community", mlxStart_hier_community, -1,
        0, &_local_function_table_Start_hier_community },
      { "MyInline", mlxMyInline, 5, 1, &_local_function_table_MyInline },
      { "My_Eval", mlxMy_Eval, 5, 1, &_local_function_table_My_Eval },
      { "isnumber", mlxIsnumber, 1, 1, &_local_function_table_isnumber },
      { "Find_Var", mlxFind_Var, 2, 2, &_local_function_table_Find_Var },
      { "Change_Number_of_Populations", mlxChange_Number_of_Populations,
        0, 0, &_local_function_table_Change_Number_of_Populations },
      { "Switch_Populations", mlxSwitch_Populations, 0,
        0, &_local_function_table_Switch_Populations },
      { "Store_Parameters", mlxStore_Parameters, 0, 0,
        &_local_function_table_Store_Parameters },
      { "cla", mlxCla, -1, 1, &_local_function_table_cla },
      { "mesh", mlxMesh, -1, 1, &_local_function_table_mesh },
      { "title", mlxTitle, -2, 1, &_local_function_table_title },
      { "xlabel", mlxXlabel, -2, 1, &_local_function_table_xlabel },
      { "ylabel", mlxYlabel, -2, 1, &_local_function_table_ylabel },
      { "parseparams", mlxParseparams, 1, 2,
        &_local_function_table_parseparams } };

static _mexcppInitTermTableEntry init_term_table[24]
  = { { libmmfileInitialize, libmmfileTerminate },
      { libmwsglmInitialize, libmwsglmTerminate },
      { InitializeModule_hier_community, TerminateModule_hier_community },
      { InitializeModule_Default, TerminateModule_Default },
      { InitializeModule_Stop_Simulation, TerminateModule_Stop_Simulation },
      { InitializeModule_Call_SaveLoad_Fig,
        TerminateModule_Call_SaveLoad_Fig },
      { InitializeModule_SaveLoad_Fig, TerminateModule_SaveLoad_Fig },
      { InitializeModule_SaveLoad, TerminateModule_SaveLoad },
      { InitializeModule_Load_Population_Data,
        TerminateModule_Load_Population_Data },
      { InitializeModule_Save_Population_Data,
        TerminateModule_Save_Population_Data },
      { InitializeModule_Start_hier_community,
        TerminateModule_Start_hier_community },
      { InitializeModule_MyInline, TerminateModule_MyInline },
      { InitializeModule_My_Eval, TerminateModule_My_Eval },
      { InitializeModule_isnumber, TerminateModule_isnumber },
      { InitializeModule_Find_Var, TerminateModule_Find_Var },
      { InitializeModule_Change_Number_of_Populations,
        TerminateModule_Change_Number_of_Populations },
      { InitializeModule_Switch_Populations,
        TerminateModule_Switch_Populations },
      { InitializeModule_Store_Parameters, TerminateModule_Store_Parameters },
      { InitializeModule_cla, TerminateModule_cla },
      { InitializeModule_mesh, TerminateModule_mesh },
      { InitializeModule_title, TerminateModule_title },
      { InitializeModule_xlabel, TerminateModule_xlabel },
      { InitializeModule_ylabel, TerminateModule_ylabel },
      { InitializeModule_parseparams, TerminateModule_parseparams } };

static _mexcpp_information _main_info
  = { 1, 22, function_table, 0, NULL, 0, NULL, 24, init_term_table };

//
// The function "main" is a Compiler-generated main wrapper, suitable for
// building a stand-alone application.  It calls a library function to perform
// initialization, call the main function, and perform library termination.
//
int main(int argc, const char * * argv) {
    return mwMainhg(argc, argv, mlxHier_community, 1, &_main_info);
}
