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

📄 templib.c

📁 该程序为MATLAB对CDMA系统个部分的仿真
💻 C
字号:
/*
 * MATLAB Compiler: 2.2
 * Date: Tue Jun 25 15:00:23 2002
 * 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" "-W" "lib:Templib"
 * "-T" "link:exe" "-h" "fileinc.c" "mrank" 
 */

#ifndef MLF_V2
#define MLF_V2 1
#endif

#include "libmatlb.h"
#include "mrank.h"
#include "magic.h"
#include "rank.h"
#include "meshgrid.h"

static mexFunctionTableEntry function_table[4]
  = { { "mrank", mlxMrank, 1, 1, &_local_function_table_mrank },
      { "magic", mlxMagic, 1, 1, &_local_function_table_magic },
      { "rank", mlxRank, 2, 1, &_local_function_table_rank },
      { "meshgrid", mlxMeshgrid, 3, 3, &_local_function_table_meshgrid } };

static _mexInitTermTableEntry init_term_table[4]
  = { { InitializeModule_mrank, TerminateModule_mrank },
      { InitializeModule_magic, TerminateModule_magic },
      { InitializeModule_rank, TerminateModule_rank },
      { InitializeModule_meshgrid, TerminateModule_meshgrid } };

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

static int _reference_count = 0;

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

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

⌨️ 快捷键说明

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