JMatIO

Matlab's MAT-file I/O API in JAVA. Supports Matlab 5 MAT-flie format reading and writing. Written in pure JAVA.

License

License

BSD
GroupId

GroupId

org.tallison
ArtifactId

ArtifactId

jmatio
Last Version

Last Version

1.5
Release Date

Release Date

Type

Type

jar
Description

Description

JMatIO
Matlab's MAT-file I/O API in JAVA. Supports Matlab 5 MAT-flie format reading and writing. Written in pure JAVA.
Project URL

Project URL

https://github.com/tballison/jmatio

Download jmatio

How to add to project

<!-- https://jarcasting.com/artifacts/org.tallison/jmatio/ -->
<dependency>
    <groupId>org.tallison</groupId>
    <artifactId>jmatio</artifactId>
    <version>1.5</version>
</dependency>
// https://jarcasting.com/artifacts/org.tallison/jmatio/
implementation 'org.tallison:jmatio:1.5'
// https://jarcasting.com/artifacts/org.tallison/jmatio/
implementation ("org.tallison:jmatio:1.5")
'org.tallison:jmatio:jar:1.5'
<dependency org="org.tallison" name="jmatio" rev="1.5">
  <artifact name="jmatio" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.tallison', module='jmatio', version='1.5')
)
libraryDependencies += "org.tallison" % "jmatio" % "1.5"
[org.tallison/jmatio "1.5"]

Dependencies

compile (1)

Group / Artifact Type Version
org.slf4j : slf4j-api jar 1.7.25

test (1)

Group / Artifact Type Version
junit : junit jar 4.11

Project Modules

There are no modules declared in this project.

jmatio

JMatIO - Matlab's MAT-file I/O in JAVA

JMatIO is a JAVA library to read/write/manipulate with Matlab binary MAT-files.

If you would like to comment, improve, critisize the project please email me: [email protected]

or visit JMatIO project page at Sourceforge: http://www.sourceforge.net/projects/jmatio

Subversion Access

This project's SourceForge.net Subversion repository can be checked out through SVN with the following instruction set:

svn co https://jmatio.svn.sourceforge.net/svnroot/jmatio/trunk jmatio

Have fun :)

Wojciech Gradkowski

CHANGE LOG: [06-13-2018]

  • Copied/pasted Lucene's solution for preventing memory leak associated with memory mapped files. jmatio is now ok with Java 8 -> 11-ea This now requires Java 8.

[08-11-2016]

  • Cleaned javadocs

[09-10-2014]

  • Changing to maven nature
  • Adding query parsing

[2012-12-03]

  • Adding supprot for Java objects and Objects
  • Performance optimization

[05.10.2007]

  • Sparse matrix bugfixes by Jonas Pettersson (LU/EAB)
  • MatFileReader performance enhancements by Eugene Rudoy
  • new MatFileReader methods added

[02.03.2007]

  • Regression bug fixed: Double arrays created natively in Matlab are read incorrectly (reversed byte ordering)

[22.02.2007]

  • Added support:UInt8 array
  • MAJOR reading performance enhancement - reading is as fast as in Matlab now
  • Removed Log4j references

TODO:

  • Other array types (serialized objects (OPAQUE) is done partially)
  • Writer performance enhancement
  • Documentation and examples
  • Organize JUnit tests
  • Refactor exceptions
  • Make structures and cell arrays more user friendly

NOTE: Numerical arrays (MLDouble, MLUint8) are now backed by direct ByteBuffers. For really BIG arrays the maximum heap size for direct buffers may be modified by -XX:MaxDirectMemorySize=

[some.time.2006] Currently supproted data types are:

  • Double array
  • Char array
  • Structure
  • Cell array
  • Sparase array

Versions

Version
1.5
1.4
1.3
1.2