root/library/mex/mxstruct2config.cpp
@
352
| Revision 331, 219 bytes (checked in by miro, 17 years ago) |
|---|
| Line | |
|---|---|
| 1 | #include "mexparse.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.
