Hello
I am trying to compile an old mex function. The first lines are:
void mexFunction(int nlhs, mxArray *plhs[], int nrhs, const mxArray *prhs[] ){ mxArray *blk_cell_pr, *A_cell_pr; double *A, *B, *AI, *BI, *blksize, *Atmp, *AItmp....
The problem is that variables AI and BI use the deprecated function MxGetPi (AI = mxGetPi(prhs[1]), for instance) and I have no idea how to modify the code to accommodate the changes. I can use a flag (-R2017b) to compile it but sooner or later I will have to change the code (I've been doing that since 93).
I try the help files but I could not find an example and to be honest I did not understand a thing on the explanation on the consequences of mxGetPi being deprecated.
Any help will be appreciated.
Cheers
Ed
Best Answer