root/applications/bdmtoolbox/mex/mxstruct2config.cpp
@
622
Revision 622, 233 bytes (checked in by smidl, 15 years ago) |
---|
Rev | Line | |
---|---|---|
[391] | 1 | #include <mex/mex_parser.h> |
[331] | 2 | |
3 | void mexFunction ( int n_output, mxArray *output[], int n_input, const mxArray *input[] ) { | |
[622] | 4 | UImxArray F ( input[0] ); |
5 | string filename = mxArray2string ( input[1] ); | |
6 | F.writeFile ( filename.c_str() ); | |
[331] | 7 | } |
Note: See TracBrowser
for help on using the browser.