I am trying to compile your matdemo1.f file

3 views (last 30 days)
Sirs: I am trying to compile your matdemo1.f file so I can write a fortran code that will write a file in matlab format. I am using Absoft Fortran 2019. In the Examples .zip file
are 2 folders. The Mathworks folder contains the matdemo1.f95 file and the include file fintrf.inc . The second folder contains the new files as modified with advise from Absoft. The include file had a name change and extensive changes to work with the original include file which had C style headers and other charcaters not recognized by my fortran compile. The Absoft folder also contains a screen shot after compilation show the unresolved externals. I am look for ideas how I can get this to work
1) Is there a preferred Mathworks Fortran compiler???
2) Does anyone have working compile code for an example such as this that write and read Matlab formmated files in a Fortran environment
Any help is greatly appreciated !

Answers (0)


Find more on Fortran with MATLAB in Help Center and File Exchange




Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by