📄 memspecmex.h
字号:
#ifndef MEM_SPECIFIC_H#define MEM_SPECIFIC_H/* * header file including all macro's, specific for the * programming context. If one makes a standalone application, * memSpec2.h should be included. For use with the MATLAB CMEX * compiler, this macros should be included. * *///#include "/software/matlab6/extern/include/mex.h"#include <mex.h>#define ERRORMSG(T) mexErrMsgTxt(T)#define MALLOC(X) mxMalloc(X)#define FREE(X) mxFree(X)#define GETXIJ(X,dim,i,j) X[dim*i+j]#define GETXROWJ(X,dim,j) (&X[dim*j])#define GETYIJ(Y,dim,i,j) Y[i+dim*j]#define GETYCOLLUMNJ(Y,dim,d) (&Y[dim*d])#define MAX(x,y) x<y? y:x #define MIN(x,y) x<y? x:y #endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -