Commit f50cd300 authored by Sina Samangooei's avatar Sina Samangooei
Browse files

merged with JMatio

parents afd2bc2e 0598604e
Loading
Loading
Loading
Loading

.gitattributes

0 → 100644
+22 −0
Original line number Diff line number Diff line
# Auto detect text files and perform LF normalization
* text=auto

# Custom for Visual Studio
*.cs     diff=csharp
*.sln    merge=union
*.csproj merge=union
*.vbproj merge=union
*.fsproj merge=union
*.dbproj merge=union

# Standard to msysgit
*.doc	 diff=astextplain
*.DOC	 diff=astextplain
*.docx diff=astextplain
*.DOCX diff=astextplain
*.dot  diff=astextplain
*.DOT  diff=astextplain
*.pdf  diff=astextplain
*.PDF	 diff=astextplain
*.rtf	 diff=astextplain
*.RTF	 diff=astextplain

.gitignore

0 → 100644
+169 −0
Original line number Diff line number Diff line
#################
## Netbeans
#################
nbactions.xml

#################
## Eclipse
#################

*.pydevproject
.project
.metadata
bin/
tmp/
*.tmp
*.bak
*.swp
*~.nib
local.properties
.classpath
.settings/
.loadpath

# External tool builders
.externalToolBuilders/

# Locally stored "Eclipse launch configurations"
*.launch

# CDT-specific
.cproject

# PDT-specific
.buildpath


#################
## Visual Studio
#################

## Ignore Visual Studio temporary files, build results, and
## files generated by popular Visual Studio add-ons.

# User-specific files
*.suo
*.user
*.sln.docstates

# Build results
[Dd]ebug/
[Rr]elease/
*_i.c
*_p.c
*.ilk
*.meta
*.obj
*.pch
*.pdb
*.pgc
*.pgd
*.rsp
*.sbr
*.tlb
*.tli
*.tlh
*.tmp
*.vspscc
.builds
*.dotCover

## TODO: If you have NuGet Package Restore enabled, uncomment this
#packages/

# Visual C++ cache files
ipch/
*.aps
*.ncb
*.opensdf
*.sdf

# Visual Studio profiler
*.psess
*.vsp

# ReSharper is a .NET coding add-in
_ReSharper*

# Installshield output folder
[Ee]xpress

# DocProject is a documentation generator add-in
DocProject/buildhelp/
DocProject/Help/*.HxT
DocProject/Help/*.HxC
DocProject/Help/*.hhc
DocProject/Help/*.hhk
DocProject/Help/*.hhp
DocProject/Help/Html2
DocProject/Help/html

# Click-Once directory
publish

# Others
[Bb]in
[Oo]bj
sql
TestResults
*.Cache
ClientBin
stylecop.*
~$*
*.dbmdl
Generated_Code #added for RIA/Silverlight projects

# Backup & report files from converting an old project file to a newer
# Visual Studio version. Backup files are not needed, because we have git ;-)
_UpgradeReport_Files/
Backup*/
UpgradeLog*.XML



############
## Windows
############

# Windows image file caches
Thumbs.db

# Folder config file
Desktop.ini


#############
## Python
#############

*.py[co]

# Packages
*.egg
*.egg-info
dist
build
eggs
parts
bin
var
sdist
develop-eggs
.installed.cfg

# Installer logs
pip-log.txt

# Unit test / coverage reports
.coverage
.tox

#Translations
*.mo

#Mr Developer
.mr.developer.cfg

# Mac crap
.DS_Store
/target/
 No newline at end of file

lib/jmatio.jar

0 → 100644
+46.5 KiB

File added.

No diff preview for this file type.

license.txt

0 → 100644
+28 −0
Original line number Diff line number Diff line
Copyright (c) 2006, Wojciech Gradkowski
All rights reserved.

Redistribution and use in source and binary forms, with or without 
modification, are permitted provided that the following conditions 
are met:

    * Redistributions of source code must retain the above copyright 
      notice, this list of conditions and the following disclaimer.
    * Redistributions in binary form must reproduce the above copyright 
      notice, this list of conditions and the following disclaimer in 
      the documentation and/or other materials provided with the 
      distribution.
    * Neither the name of the JMatIO nor the names of its 
      contributors may be used to endorse or promote products derived 
      from this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 
OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

readme.txt

0 → 100644
+62 −0
Original line number Diff line number Diff line
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: wgradkowski@gmail.com 

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:
[04.12.2012]
+ adding various fixes (thanks to: Kristofer Sandlund)
+ adding read support for objects, java objects, other types
+ performance enhancements

[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=<size>


[some.time.2006]
Currently supproted data types are:
+ Double array
+ Char array
+ Structure
+ Cell array
+ Sparase array
Loading