f2c
Fortran to C converter.
📝Syntax
f2c(src, dest)
 r = f2c(src, dest)
 [r, msg] = f2c(src, dest)
📥Input Arguments
Parameter Description
src a string: fortran source file.
dest a string: destination directory.
📤Output Arguments
Parameter Description
r a logical: true if success.
msg a string: error message or ''.
📄Description

f2c converts fortran 66, and fortran 77 files to C.

💡Examples
f2c([modulepath(nelsonroot(),'f2c','root'), '/tests/dgemm.f'], tempdir());
fileread([tempdir(), 'dgemm.c'])
🕔Version History
Version Description
1.0.0 initial version
Edit this page on GitHub