![](https://img-blog.csdnimg.cn/20201014180756916.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Matlab
爱码hyatt_hu
小猿一枚。
展开
-
Matlab学习历程
## 一个简单的hello word ###include"mex.h" void mexFunction( int nlhs, mxArray *plhs[], int nrhs, mxArray *prhs[] ) { mexPrintf("hello word");}原创 2015-11-15 14:37:51 · 283 阅读 · 0 评论 -
Matlab学习历程
##双精度实数型的求和--用mexTest函数实现###include "mex.h" #define x_in 0 #define y_out 0 /*求和子程序*/ extern int dp_sum(const int N, const double* X) { int i; double sum; sum = 0.0; for (i = 0; i < N; i原创 2015-11-15 16:01:26 · 457 阅读 · 0 评论