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

📄 ipslv_mex.c

📁 matlab整数规划工具箱
💻 C
字号:
/* This file contains a function to interface LP_SOLVE to MATLAB.   This file is not part of the LP_SOLVE package. *//* * MATLAB Compiler: 2.0.1 * Date: Fri Jul 13 15:32:32 2001 * Arguments: "-x" "ipslv"  */#ifndef MLF_V2#define MLF_V2 1#endif#include "matlab.h"#include "ipslv.h"static mlfFunctionTableEntry function_table[1]  = { { "ipslv", mlxIpslv, 7, 2 } };/* * The function "mexFunction" is a Compiler-generated mex wrapper, suitable for * building a MEX-function. It initializes any persistent variables as well as * a function table for use by the feval function. It then calls the function * "mlxIpslv". Finally, it clears the feval table and exits. */void mexFunction(int nlhs, mxArray * * plhs, int nrhs, const mxArray * * prhs) {    mlfTry {        mlfFunctionTableSetup(1, function_table);        /* mclImportGlobal(0, NULL); apparently not supported in Matlab 6*/        mlxIpslv(nlhs, plhs, nrhs, prhs);        mlfFunctionTableTakedown(1, function_table);    } mlfCatch {        mlfFunctionTableTakedown(1, function_table);        mclMexError();    } mlfEndCatch}

⌨️ 快捷键说明

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