Last active
December 3, 2017 05:15
-
-
Save rej55/7788ea0a6ac3670339845068b957ca5f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
void mexFunction(int nlhs, mxArray *plhs[], int nrhs, const mxArray *prhs[]) | |
{ | |
double* ptr; | |
plhs[0] = mxCreateDoubleMatrix(5, 5, mxREAL); | |
ptr = mxGetPr(plhs[0]); | |
/* ここでptrに数値データを入れていく */ | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment