root/library/mex/config2mxstruct.cpp
@
371
Revision 371, 246 bytes (checked in by miro, 15 years ago) |
---|
Rev | Line | |
---|---|---|
[371] | 1 | #include "config2mxstruct.h" |
2 | ||
3 | void mexFunction ( int n_output, mxArray *output[], int n_input, const mxArray *input[] ) { | |
4 | string filename = mxArray2string(input[0]); | |
5 | UImxConfig C (filename.c_str()); | |
6 | output[0] = mxDuplicateArray(C.mxconfig); | |
7 | } |
Note: See TracBrowser
for help on using the browser.