Code Monkey home page Code Monkey logo

formatio's Introduction

formatio

This module provides a simple interface to write MATLAB .mat files. It is not intended to be a complete implementation of the .mat file format, but rather a simple way to write data from Fortran to MATLAB. The module is written in Fortran 2003 and should be compatible with most compilers. It has been tested with gfortran 12.

The module provides a single type, matfile, which is used to open and write to a .mat file. The type has a single procedure, write, which can be used to write a single array to the file. The array can be of any rank, and the array name can be any string. The array is written as a double precision array, regardless of the precision of the input array.

Example:

use formatio
type(matfile) :: mf

real*8, dimension(10) :: x
x = 1.0
call mf%open('test.mat', 'write')
call mf%write('x', x)
call mf%close()

formatio's People

Contributors

furstj avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.