root/library/mex/config2mxstruct.cpp @ 371

Revision 371, 246 bytes (checked in by miro, 15 years ago)

conversion from config to matlab structure
changed expected interpretation of matrix in mexparse.h

Line 
1#include "config2mxstruct.h"
2
3void 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.