meanfunctionlib.c

来自「Introduction Some times it is required 」· C语言 代码 · 共 54 行

C
54
字号
/*
 * MATLAB Compiler: 3.0
 * Date: Wed Dec 31 16:59:42 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" "-t" "-L" "C" "-W"
 * "lib:MeanFunctionLib" "-T" "link:lib" "MeanFunction.m" "libmmfile.mlib" 
 */

#ifndef MLF_V2
#define MLF_V2 1
#endif

#include "libmatlb.h"
#include "MeanFunctionLib.h"
#include "meanfunction.h"

extern _mex_information _lib_info;

static mexFunctionTableEntry function_table[1]
  = { { "meanfunction", mlxMeanfunction, 1, 1,
        &_local_function_table_meanfunction } };

static _mexInitTermTableEntry init_term_table[1]
  = { { InitializeModule_meanfunction, TerminateModule_meanfunction } };

static int _reference_count = 0;

_mex_information _lib_info
  = { 1, 1, function_table, 0, NULL, 0, NULL, 1, init_term_table };

/*
 * The function "MeanFunctionLibInitialize" is a Compiler-generated
 * initialization wrapper. It is used to initialize the state of
 * Compiler-generated functions so that those functions can be called from code
 * not generated by the Compiler. The function(s) initialized can be found in
 * the function_table variable, appearing above.
 */
void MeanFunctionLibInitialize(void) {
    mclLibInit("MeanFunctionLib", &_reference_count, &_lib_info);
}

/*
 * The function "MeanFunctionLibTerminate" is a Compiler-generated termination
 * wrapper. It is used to clean up the state that was set up by the
 * initialization wrapper function, also found in this file. Call this function
 * after having called the initialization wrapper function and after having
 * finished making all calls to the Compiler-generated function(s) found in the
 * function_table variable, appearing above.
 */
void MeanFunctionLibTerminate(void) {
    mclLibTerm("MeanFunctionLib", &_reference_count, &_lib_info);
}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?