Fortran data out
Version 1.0.0.0 (457 Bytes) by
Margaret Kimball
writes a file containing a Fortran 77 data statement from a matlab data vector
786 Downloads
Updated
18 May 2006
No License
Takes a MATLAB vector and outputs to a file a FORTRAN 77 data statement. 5 numbers per line formated as 0.00000E+00, will use as many lines as necessary with a continue statement in column 5.
Example,
fortrandataout([1 2 3 4 5 6],my_data,filename)
creates the file called filename containing
data my_data /
& 1.00000E+00, 2.000000E+00, 3.000000E+00, 4.000000E+00, 5.000000E+00,
& 6.000000E+00
& /
Cite As
Margaret Kimball (2026). Fortran data out (https://www.mathworks.com/matlabcentral/fileexchange/11107-fortran-data-out), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R14SP3
Compatible with any release
Platform Compatibility
Windows macOS LinuxCategories
Find more on Fortran with MATLAB in Help Center and MATLAB Answers
Tags
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
| Version | Published | Release Notes | |
|---|---|---|---|
| 1.0.0.0 |
