- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
My32-bit Fortran program ouputs a binary (unformatted) data file. I am trying to read the data file into MATLAB. I know the order of the variables written to the binary file along with their types.
I have tried several ways of reading it but without any success. Has anyone in this forum has gone through this process of accessing Fortran-produced binary files in MATLAB?If any of you have gone through this process, I would much appreciate if you can share your experiences.
Many Thanks!
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Are you aware that normal Fortran unformatted files have record lengths before and after the data? If you don't want that, then when you create the file, specify ACCESS='STREAM' in the OPEN.
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page