我希望能在mex代码中操作matlab表格(http://se.mathworks.com/help/matlab/tables.html)。这是否可能?
例如,若要在mex代码中操作数组,则可以调用以下函数:
例如,若要在mex代码中操作数组,则可以调用以下函数:
mxArray * matlabArray = prhs[0] ;// if matlabArray was the first argument to the mex function;
有没有办法做类似这样的事情
mxTable * matlabTable = prhs[0] ; //mxTable does not actually exist... but I would like it to:)
并将表格作为第一个参数传递?
mxArray * matlabArray = prhs[0]
,而 prhs[0] 是一个表格,会发生什么?它会抛出错误还是可以查看值? - kkuilla