1
每个mexFunction具有相同的原型:如何使用Doxygen记录mexFunction参数?
void mexFunction(int nlhs, mxArray *plhs[], int nrhs, const mxArray *prhs[])
我们可以记录这像一个正常的功能:
void mexFunction(
int nlhs, /**< number of left hand arguments **/
mxArray *plhs[], /**< left hand arguments **/
int nrhs, /**< number of right hand arguments **/
const mxArray *prhs[] /**< right hand arguments **/
)
但是这并没有告诉我们的实际参数。
有没有更好的选择,不是只记录:
- http://fossies.org/dox/FreeMat-4.2-Source/levmar_8c_source.html
- http://fossies.org/dox/getfem-4.3/gfm__mex_8c_source.html
- http://doxygen.scilab.org/master_wg/d9/d6c/temptst_8cpp_source.html
/**
* \details
* inputs:
* prhs[0] - blah blah
* prhs[1] - blah
*
* outputs:
* plhs[0] - yadda yadda
**/
坏榜样0
没有找到好的例子。
谁想出了“S”来代表“阵列”吗? – 2015-01-15 19:55:30