⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 myrandplottest.c

📁 精通matlab7.0及与其他语言的混合编程
💻 C
字号:
/*
 * MATLAB Compiler: 3.0
 * Date: Tue Nov 15 09:19:57 2005
 * 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" "-silentsetup" "-d"
 * "C:/MATLAB6p5/work/myrandplottest/src" "-v" "-B"
 * "csglcom:myrandplottest,myrandplottest,1.0" "-B" "sgl" "-m" "-W" "main" "-L"
 * "C" "-t" "-T" "link:exe" "-h" "libmmfile.mlib" "-W" "mainhg"
 * "libmwsglm.mlib" "-t" "-W" "comhg:myrandplottest,myrandplottest,1.0" "-T"
 * "link:lib" "-h" "libmmfile.mlib" "-i" "-g" "-G" "-A" "debugline:on" "-O"
 * "none" "-O" "fold_scalar_mxarrays:off" "-O" "fold_non_scalar_mxarrays:off"
 * "-O" "optimize_integer_for_loops:off" "-O" "array_indexing:off" "-O"
 * "optimize_conditionals:off" "-O" "speculate:off" "-i"
 * "C:/MATLAB6p5/work/getplotcolor.m" "C:/MATLAB6p5/work/myrandplot.m"
 * "C:/MATLAB6p5/work/setplotcolor.m" 
 */

#ifndef MLF_V2
#define MLF_V2 1
#endif

#include "libmatlb.h"
#include "myrandplottest.h"
#include "getplotcolor.h"
#include "myrandplot.h"
#include "setplotcolor.h"

extern _mex_information _lib_info;

mxArray * randplotcolor = NULL;

static mexGlobalTableEntry global_table[1]
  = { { "randplotcolor", &randplotcolor } };

static mexFunctionTableEntry function_table[3]
  = { { "getplotcolor", mlxGetplotcolor, 0, 1,
        &_local_function_table_getplotcolor },
      { "myrandplot", mlxMyrandplot, 1, 1, &_local_function_table_myrandplot },
      { "setplotcolor", mlxSetplotcolor, 1, 0,
        &_local_function_table_setplotcolor } };

static _mexInitTermTableEntry init_term_table[3]
  = { { InitializeModule_getplotcolor, TerminateModule_getplotcolor },
      { InitializeModule_myrandplot, TerminateModule_myrandplot },
      { InitializeModule_setplotcolor, TerminateModule_setplotcolor } };

static int _reference_count = 0;

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

/*
 * The function "myrandplottestInitialize" 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 myrandplottestInitialize(void) {
    mclLibhgInit("myrandplottest", &_reference_count, &_lib_info);
}

/*
 * The function "myrandplottestTerminate" 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 myrandplottestTerminate(void) {
    mclLibhgTerm("myrandplottest", &_reference_count, &_lib_info);
}

⌨️ 快捷键说明

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