C-Mex Error: expected "..." or ","
2 ビュー (過去 30 日間)
古いコメントを表示
Lance Randall Gamier
2020 年 11 月 3 日
回答済み: Walter Roberson
2020 年 11 月 3 日
The Code that I entered for a C++ Matlab Extension file is:
#include "mex.h"
void mexFunction(int nlhs,
mxArray*plhs[]
int nrhs,
const mxArray*prhs[])
{
mexPrintf("Hello, mex!\n");
}
but it gives this error message:
error: expected ',' or '...' before 'int'
int nrhs,
^
0 件のコメント
採用された回答
その他の回答 (0 件)
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!