/* * The function "mlxPrecise_step" contains the feval interface for the * "precise_step" M-function from file "d:\M6\work\precise_step.m" (lines 0-0). * The feval function calls the implementation version of precise_step through * this function. This function processes any input arguments and passes them * to the implementation version of the function, appearing above. */ void mlxPrecise_step(int nlhs, mxArray * plhs[], int nrhs, mxArray * prhs[]) { mxArray * mprhs[1]; mxArray * mplhs[1]; int i; if (nlhs > 1) { mlfError( mxCreateString( "Run-time Error: File: precise_step Line: 1 Column" ": 1 The function \"precise_step\" was called with" " more than the declared number of outputs (1).")); } if (nrhs > 1) { mlfError( mxCreateString( "Run-time Error: File: precise_step Line: 1 Column" ": 1 The function \"precise_step\" was called with" " more than the declared number of inputs (1).")); } for (i = 0; i < 1; ++i) { mplhs[i] = mclGetUninitializedArray(); } for (i = 0; i < 1 && i < nrhs; ++i) { mprhs[i] = prhs[i]; } for (; i < 1; ++i) { mprhs[i] = NULL; } mlfEnterNewContext(0, 1, mprhs[0]); mplhs[0] = Mprecise_step(nlhs, mprhs[0]); mlfRestorePreviousContext(0, 1, mprhs[0]); plhs[0] = mplhs[0]; }
/* * The function "mlxMyeye" contains the feval interface for the "myeye" * M-function from file "c:\matlab6p5\work\myeye.m" (lines 1-2). The feval * function calls the implementation version of myeye through this function. * This function processes any input arguments and passes them to the * implementation version of the function, appearing above. */ void mlxMyeye(int nlhs, mxArray * plhs[], int nrhs, mxArray * prhs[]) { mxArray * mprhs[1]; mxArray * mplhs[1]; int i; if (nlhs > 1) { mlfError( mxCreateString( "Run-time Error: File: myeye Line: 1 Column: 1 The function \"myeye" "\" was called with more than the declared number of outputs (1)."), NULL); } if (nrhs > 1) { mlfError( mxCreateString( "Run-time Error: File: myeye Line: 1 Column: 1 The function \"myeye" "\" was called with more than the declared number of inputs (1)."), NULL); } for (i = 0; i < 1; ++i) { mplhs[i] = NULL; } for (i = 0; i < 1 && i < nrhs; ++i) { mprhs[i] = prhs[i]; } for (; i < 1; ++i) { mprhs[i] = NULL; } mlfEnterNewContext(0, 1, mprhs[0]); mplhs[0] = Mmyeye(nlhs, mprhs[0]); mlfRestorePreviousContext(0, 1, mprhs[0]); plhs[0] = mplhs[0]; }
/* * The function "mlxD_int" contains the feval interface for the "d_int" * M-function from file "d:\M6\work\d_int.m" (lines 0-0). The feval function * calls the implementation version of d_int through this function. This * function processes any input arguments and passes them to the implementation * version of the function, appearing above. */ void mlxD_int(int nlhs, mxArray * plhs[], int nrhs, mxArray * prhs[]) { mxArray * mprhs[2]; mxArray * mplhs[1]; int i; if (nlhs > 1) { mlfError( mxCreateString( "Run-time Error: File: d_int Line: 1 Column: 1" " The function \"d_int\" was called with more " "than the declared number of outputs (1).")); } if (nrhs > 2) { mlfError( mxCreateString( "Run-time Error: File: d_int Line: 1 Column: 1 The function \"d_int" "\" was called with more than the declared number of inputs (2).")); } for (i = 0; i < 1; ++i) { mplhs[i] = mclGetUninitializedArray(); } for (i = 0; i < 2 && i < nrhs; ++i) { mprhs[i] = prhs[i]; } for (; i < 2; ++i) { mprhs[i] = NULL; } mlfEnterNewContext(0, 2, mprhs[0], mprhs[1]); mplhs[0] = Md_int(nlhs, mprhs[0], mprhs[1]); mlfRestorePreviousContext(0, 2, mprhs[0], mprhs[1]); plhs[0] = mplhs[0]; }
/* * The function "mlxGrid" contains the feval interface for the "grid" * M-function from file "d:\matlab6p5p1\toolbox\matlab\graph2d\grid.m" (lines * 0-0). The feval function calls the implementation version of grid through * this function. This function processes any input arguments and passes them * to the implementation version of the function, appearing above. */ void mlxGrid(int nlhs, mxArray * plhs[], int nrhs, mxArray * prhs[]) { mxArray * mprhs[2]; int i; if (nlhs > 0) { mlfError( mxCreateString( "Run-time Error: File: grid Line: 1 Column: 1 The function \"grid\"" " was called with more than the declared number of outputs (0)."), NULL); } if (nrhs > 2) { mlfError( mxCreateString( "Run-time Error: File: grid Line: 1 Column: 1 The function \"grid" "\" was called with more than the declared number of inputs (2)."), NULL); } for (i = 0; i < 2 && i < nrhs; ++i) { mprhs[i] = prhs[i]; } for (; i < 2; ++i) { mprhs[i] = NULL; } mlfEnterNewContext(0, 2, mprhs[0], mprhs[1]); Mgrid(mprhs[0], mprhs[1]); mlfRestorePreviousContext(0, 2, mprhs[0], mprhs[1]); }
/* * The function "mlxIPEMHandleInputArguments" contains the feval interface for * the "IPEMHandleInputArguments" M-function from file * "/afs/cmb.ucdavis.edu/share/matlab/janata/models/IPEMToolbox/Common/IPEMHandl * eInputArguments.m" (lines 0-0). The feval function calls the implementation * version of IPEMHandleInputArguments through this function. This function * processes any input arguments and passes them to the implementation version * of the function, appearing above. */ void mlxIPEMHandleInputArguments(int nlhs, mxArray * plhs[], int nrhs, mxArray * prhs[]) { mxArray * mprhs[3]; mxArray * mplhs[1]; int i; if (nrhs > 3) { mlfError( mxCreateString( "Run-time Error: File: IPEMHandleInputArguments Line: 1 Co" "lumn: 1 The function \"IPEMHandleInputArguments\" was cal" "led with more than the declared number of inputs (3)."), NULL); } for (i = 0; i < 1; ++i) { mplhs[i] = NULL; } for (i = 0; i < 3 && i < nrhs; ++i) { mprhs[i] = prhs[i]; } for (; i < 3; ++i) { mprhs[i] = NULL; } mlfEnterNewContext(0, 3, mprhs[0], mprhs[1], mprhs[2]); mplhs[0] = MIPEMHandleInputArguments(nlhs, mprhs[0], mprhs[1], mprhs[2]); mclAssignVarargoutCell(0, nlhs, plhs, mplhs[0]); mlfRestorePreviousContext(0, 3, mprhs[0], mprhs[1], mprhs[2]); }
/* * The function "mlxAxis" contains the feval interface for the "axis" * M-function from file "d:\matlab6p5p1\toolbox\matlab\graph2d\axis.m" (lines * 0-0). The feval function calls the implementation version of axis through * this function. This function processes any input arguments and passes them * to the implementation version of the function, appearing above. */ void mlxAxis(int nlhs, mxArray * plhs[], int nrhs, mxArray * prhs[]) { mxArray * mprhs[1]; mxArray * mplhs[3]; int i; if (nlhs > 3) { mlfError( mxCreateString( "Run-time Error: File: axis Line: 1 Column: 1 The function \"axis\"" " was called with more than the declared number of outputs (3)."), NULL); } for (i = 0; i < 3; ++i) { mplhs[i] = NULL; } mlfEnterNewContext(0, 0); mprhs[0] = NULL; mlfAssign(&mprhs[0], mclCreateVararginCell(nrhs, prhs)); mplhs[0] = Maxis(&mplhs[1], &mplhs[2], nlhs, mprhs[0]); mlfRestorePreviousContext(0, 0); plhs[0] = mplhs[0]; for (i = 1; i < 3 && i < nlhs; ++i) { plhs[i] = mplhs[i]; } for (; i < 3; ++i) { mxDestroyArray(mplhs[i]); } mxDestroyArray(mprhs[0]); }
/* * The function "mlxMain" contains the feval interface for the "main" * M-function from file "d:\work\m_build1\main.m" (lines 1-2). The feval * function calls the implementation version of main through this function. * This function processes any input arguments and passes them to the * implementation version of the function, appearing above. */ void mlxMain(int nlhs, mxArray * plhs[], int nrhs, mxArray * prhs[]) { if (nlhs > 0) { mlfError( mxCreateString( "Run-time Error: File: main Line: 1 Column: 1 The function \"main\"" " was called with more than the declared number of outputs (0)."), NULL); } if (nrhs > 0) { mlfError( mxCreateString( "Run-time Error: File: main Line: 1 Column: 1 The function \"main" "\" was called with more than the declared number of inputs (0)."), NULL); } mlfEnterNewContext(0, 0); Mmain(); mlfRestorePreviousContext(0, 0); }
/* * The function "mlxRank" contains the feval interface for the "rank" * M-function from file * "/space/lyon/9/pubsw/common/matlab/6.1/toolbox/matlab/matfun/rank.m" (lines * 1-17). The feval function calls the implementation version of rank through * this function. This function processes any input arguments and passes them * to the implementation version of the function, appearing above. */ void mlxRank(int nlhs, mxArray * plhs[], int nrhs, mxArray * prhs[]) { mxArray * mprhs[2]; mxArray * mplhs[1]; int i; if (nlhs > 1) { mlfError(_mxarray0_); } if (nrhs > 2) { mlfError(_mxarray2_); } for (i = 0; i < 1; ++i) { mplhs[i] = mclGetUninitializedArray(); } for (i = 0; i < 2 && i < nrhs; ++i) { mprhs[i] = prhs[i]; } for (; i < 2; ++i) { mprhs[i] = NULL; } mlfEnterNewContext(0, 2, mprhs[0], mprhs[1]); mplhs[0] = Mrank(nlhs, mprhs[0], mprhs[1]); mlfRestorePreviousContext(0, 2, mprhs[0], mprhs[1]); plhs[0] = mplhs[0]; }
/* * The function "mlxPrecise_step" contains the feval interface for the * "precise_step" M-function from file "d:\M6\work\precise_step.m" (lines * 1-12). The feval function calls the implementation version of precise_step * through this function. This function processes any input arguments and * passes them to the implementation version of the function, appearing above. */ void mlxPrecise_step(int nlhs, mxArray * plhs[], int nrhs, mxArray * prhs[]) { mxArray * mprhs[1]; mxArray * mplhs[1]; int i; if (nlhs > 1) { mlfError(_mxarray0_); } if (nrhs > 1) { mlfError(_mxarray2_); } for (i = 0; i < 1; ++i) { mplhs[i] = mclGetUninitializedArray(); } for (i = 0; i < 1 && i < nrhs; ++i) { mprhs[i] = prhs[i]; } for (; i < 1; ++i) { mprhs[i] = NULL; } mlfEnterNewContext(0, 1, mprhs[0]); mplhs[0] = Mprecise_step(nlhs, mprhs[0]); mlfRestorePreviousContext(0, 1, mprhs[0]); plhs[0] = mplhs[0]; }