/*
 * MATLAB Compiler: 3.0
 * Date: Mon Nov 03 13:00:57 2003
 * 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" "-m" "-W" "main" "-L"
 * "C" "-t" "-T" "link:exe" "-h" "libmmfile.mlib" "DancingMonkeys" 
 */

#ifndef MLF_V2
#define MLF_V2 1
#endif

#include "libmatlb.h"
#include "dancingmonkeys.h"
#include "butter.h"
#include "hamming.h"
#include "kmkdir.h"
#include "maximalcliques.h"
#include "prctile.h"
#include "wavread.h"
#include "wavwrite.h"
#include "bilinear.h"
#include "buttap.h"
#include "signal_private_iirchk.h"
#include "lp2bp.h"
#include "lp2bs.h"
#include "lp2hp.h"
#include "lp2lp.h"
#include "signal_private_gencoswin.h"
#include "strread.h"
#include "signal_private_check_order.h"
#include "dataread_mex_interface.h"
#include "libmmfile.h"

extern _mex_information _main_info;

static mexFunctionTableEntry function_table[19]
  = { { "dancingmonkeys", mlxDancingmonkeys, 7, 0,
        &_local_function_table_dancingmonkeys },
      { "butter", mlxButter, -3, 4, &_local_function_table_butter },
      { "hamming", mlxHamming, -1, 1, &_local_function_table_hamming },
      { "kmkdir", mlxKmkdir, -1, -1, &_local_function_table_kmkdir },
      { "maximalcliques", mlxMaximalcliques, 1, 1,
        &_local_function_table_maximalcliques },
      { "prctile", mlxPrctile, 2, 1, &_local_function_table_prctile },
      { "wavread", mlxWavread, 2, 4, &_local_function_table_wavread },
      { "wavwrite", mlxWavwrite, 4, 0, &_local_function_table_wavwrite },
      { "bilinear", mlxBilinear, 6, 4, &_local_function_table_bilinear },
      { "buttap", mlxButtap, 1, 3, &_local_function_table_buttap },
      { "signal/private/iirchk", mlxSignal_private_iirchk, -2,
        3, &_local_function_table_signal_private_iirchk },
      { "lp2bp", mlxLp2bp, 6, 4, &_local_function_table_lp2bp },
      { "lp2bs", mlxLp2bs, 6, 4, &_local_function_table_lp2bs },
      { "lp2hp", mlxLp2hp, 5, 4, &_local_function_table_lp2hp },
      { "lp2lp", mlxLp2lp, 5, 4, &_local_function_table_lp2lp },
      { "signal/private/gencoswin", mlxSignal_private_gencoswin,
        -1, 2, &_local_function_table_signal_private_gencoswin },
      { "strread", mlxStrread, -1, -1, &_local_function_table_strread },
      { "signal/private/check_order", mlxSignal_private_check_order,
        1, 3, &_local_function_table_signal_private_check_order },
      { "dataread", mlxDataread, -1, -1, &_local_function_table_dataread } };

static const char * path_list_[1] = { "c:\\matlab65\\toolbox\\matlab\\iofun" };

static _mexInitTermTableEntry init_term_table[20]
  = { { libmmfileInitialize, libmmfileTerminate },
      { InitializeModule_dancingmonkeys, TerminateModule_dancingmonkeys },
      { InitializeModule_butter, TerminateModule_butter },
      { InitializeModule_hamming, TerminateModule_hamming },
      { InitializeModule_kmkdir, TerminateModule_kmkdir },
      { InitializeModule_maximalcliques, TerminateModule_maximalcliques },
      { InitializeModule_prctile, TerminateModule_prctile },
      { InitializeModule_wavread, TerminateModule_wavread },
      { InitializeModule_wavwrite, TerminateModule_wavwrite },
      { InitializeModule_bilinear, TerminateModule_bilinear },
      { InitializeModule_buttap, TerminateModule_buttap },
      { InitializeModule_signal_private_iirchk,
        TerminateModule_signal_private_iirchk },
      { InitializeModule_lp2bp, TerminateModule_lp2bp },
      { InitializeModule_lp2bs, TerminateModule_lp2bs },
      { InitializeModule_lp2hp, TerminateModule_lp2hp },
      { InitializeModule_lp2lp, TerminateModule_lp2lp },
      { InitializeModule_signal_private_gencoswin,
        TerminateModule_signal_private_gencoswin },
      { InitializeModule_strread, TerminateModule_strread },
      { InitializeModule_signal_private_check_order,
        TerminateModule_signal_private_check_order },
      { InitializeModule_dataread_mex_interface,
        TerminateModule_dataread_mex_interface } };

_mex_information _main_info
  = { 1, 19, function_table, 0, NULL, 1, path_list_, 20, 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 mclMain(argc, argv, mlxDancingmonkeys, 0, &_main_info);
}
