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