?? displaymatrix.cpp
字號:
//
// MATLAB Compiler: 3.0
// Date: Fri May 28 15:51:21 2004
// 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"
// "D:/MATLAB6p5p1/work/book/dataconversion/MWSparseMaxtrix/src" "-v" "-B"
// "cppcom:SparseMatrixText,SparseMatrixText,1.0" "-B"
// "ccom:SparseMatrixText,SparseMatrixText,1.0" "-t" "-W"
// "com:SparseMatrixText,SparseMatrixText,1.0" "-T" "link:lib" "-h"
// "libmmfile.mlib" "-i" "-L" "cpp" "-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"
// "D:/MATLAB6p5p1/work/book/dataconversion/MWSparseMaxtrix/mfiles/displaymatrix
// .m"
// "D:/MATLAB6p5p1/work/book/dataconversion/MWSparseMaxtrix/mfiles/sparsematrix.
// m"
//
#include "displaymatrix.hpp"
#include "libmatlbm.hpp"
void InitializeModule_displaymatrix() {
}
void TerminateModule_displaymatrix() {
}
static void Mdisplaymatrix(mwArray x);
_mexLocalFunctionTable _local_function_table_displaymatrix
= { 0, (mexFunctionTableEntry *)NULL };
//
// The function "displaymatrix" contains the normal interface for the
// "displaymatrix" M-function from file
// "d:\matlab6p5p1\work\book\dataconversion\mwsparsemaxtrix\mfiles\displaymatrix
// .m" (lines 1-3). This function processes any input arguments and passes them
// to the implementation version of the function, appearing above.
//
void displaymatrix(mwArray x) {
Mdisplaymatrix(x);
}
//
// The function "mlxDisplaymatrix" contains the feval interface for the
// "displaymatrix" M-function from file
// "d:\matlab6p5p1\work\book\dataconversion\mwsparsemaxtrix\mfiles\displaymatrix
// .m" (lines 1-3). The feval function calls the implementation version of
// displaymatrix through this function. This function processes any input
// arguments and passes them to the implementation version of the function,
// appearing above.
//
void mlxDisplaymatrix(int nlhs, mxArray * plhs[], int nrhs, mxArray * prhs[]) {
MW_BEGIN_MLX();
{
mwArray mprhs[1];
int i;
if (nlhs > 0) {
error(
mwVarargin(
mwArray(
"Run-time Error: File: displaymatrix Line: 1 Column"
": 1 The function \"displaymatrix\" was called with"
" more than the declared number of outputs (0).")));
}
if (nrhs > 1) {
error(
mwVarargin(
mwArray(
"Run-time Error: File: displaymatrix Line: 1 Column"
": 1 The function \"displaymatrix\" was called with"
" more than the declared number of inputs (1).")));
}
for (i = 0; i < 1 && i < nrhs; ++i) {
mprhs[i] = mwArray(prhs[i], 0);
}
for (; i < 1; ++i) {
mprhs[i].MakeDIN();
}
Mdisplaymatrix(mprhs[0]);
}
MW_END_MLX();
}
//
// The function "Mdisplaymatrix" is the implementation version of the
// "displaymatrix" M-function from file
// "d:\matlab6p5p1\work\book\dataconversion\mwsparsemaxtrix\mfiles\displaymatrix
// .m" (lines 1-3). It contains the actual compiled code for that M-function.
// It is a static function and must only be called from one of the interface
// functions, appearing below.
//
//
// function []=displaymatrix(x)
//
static void Mdisplaymatrix(mwArray x) {
mclMlineEnterFunction(
"d:\\matlab6p5p1\\work\\book\\dataconversion"
"\\mwsparsemaxtrix\\mfiles\\displaymatrix.m",
"displaymatrix")
mwLocalFunctionTable save_local_function_table_
= &_local_function_table_displaymatrix;
mwArray ans = mwArray::UNDEFINED;
//
// %function []=displaymatrix(x)
// disp(x);
//
mclMline(2);
disp(mwVa(x, "x"));
mclMlineExitFunction();
}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -