f2c(src, dest)
r = f2c(src, dest)
[r, msg] = f2c(src, dest)
| Parameter | Description |
|---|---|
| src | a string: fortran source file. |
| dest | a string: destination directory. |
| Parameter | Description |
|---|---|
| r | a logical: true if success. |
| msg | a string: error message or ''. |
f2c converts fortran 66, and fortran 77 files to C.
f2c([modulepath(nelsonroot(),'f2c','root'), '/tests/dgemm.f'], tempdir());
fileread([tempdir(), 'dgemm.c'])
| Version | Description |
|---|---|
| 1.0.0 | initial version |