All Projects → jkriege2 → TinyMAT

jkriege2 / TinyMAT

Licence: LGPL-2.1 license
C/C++ library to handle writing simple Matlab(r) MAT file

Programming Languages

C++
36643 projects - #6 most used programming language
CMake
9771 projects
shell
77523 projects

Projects that are alternatives of or similar to TinyMAT

TinyTIFF
lightweight TIFF reader/writer library (C/C++)
Stars: ✭ 91 (+313.64%)
Mutual labels:  lib, file-format
node-api-problem
HTTP Problem Utility
Stars: ✭ 24 (+9.09%)
Mutual labels:  lib
babelfish
🐡 Straightforward library for translations and dictionaries
Stars: ✭ 47 (+113.64%)
Mutual labels:  lib
iOS-Shortcuts-Reference
Reference documentation for the iOS Shortcuts app file structure
Stars: ✭ 89 (+304.55%)
Mutual labels:  file-format
miniply
A fast and easy-to-use PLY parsing library in a single c++11 header and cpp file
Stars: ✭ 29 (+31.82%)
Mutual labels:  file-format
menu-hamburger
🍔 A clean, simple and easy to use library to create a Menu Hamburger
Stars: ✭ 17 (-22.73%)
Mutual labels:  lib
GbxDump
A Microsoft Windows application that displays the contents of the file header of *.Gbx files used by the Nadeo game engine GameBox.
Stars: ✭ 19 (-13.64%)
Mutual labels:  file-format
logger-node
A nodejs logger client for LogDNA
Stars: ✭ 27 (+22.73%)
Mutual labels:  lib
react-lite
A simple implementation of react
Stars: ✭ 51 (+131.82%)
Mutual labels:  lib
jigjs
🧩 A front-end framework
Stars: ✭ 22 (+0%)
Mutual labels:  lib
teams-api
Unofficial Microsoft Teams Library
Stars: ✭ 92 (+318.18%)
Mutual labels:  lib
js-cfb
💾 OLE File Container Format
Stars: ✭ 54 (+145.45%)
Mutual labels:  file-format
mimesniffer
A MIME type sniffer for Go.
Stars: ✭ 22 (+0%)
Mutual labels:  file-format
MagicaVoxel File Writer
MagicaVoxel File Writer dependency free cpp class
Stars: ✭ 26 (+18.18%)
Mutual labels:  file-format
node-nightwatch-accessibility
Nightwatch.js utility assertion for accessibility testing with aXe
Stars: ✭ 16 (-27.27%)
Mutual labels:  lib
go-obj
OBJ file loader for golang
Stars: ✭ 16 (-27.27%)
Mutual labels:  file-format
liblex
C library for Lexical Analysis
Stars: ✭ 25 (+13.64%)
Mutual labels:  lib
fs-pochta-api
Библиотека для работы с API Почты России
Stars: ✭ 15 (-31.82%)
Mutual labels:  lib
reload
Simple managed reload mechanism for Go
Stars: ✭ 18 (-18.18%)
Mutual labels:  lib
MP4Parse
C++ library for MP4 file parsing.
Stars: ✭ 55 (+150%)
Mutual labels:  file-format

TinyMAT

A (partly templated) C++ library to handle writing simple Matlab(r) MAT file in Version "MATLAB 5.0" or higher

This library implements a very simple interface to write Matlab MAT file (level 5), as described in http://www.mathworks.de/help/pdf_doc/matlab/matfile_format.pdf

It is licensed under the terms of the GNU Lesser general Public license (LGPL) >=2.1

Language Lates Release Documentation

CI: Windows Build CI: Documentation/Linux/MacOX Build

Code Quality Code Grade

Example

The following example code writes some arrays and matrices into a MAT-file:

TinyMATWriterFile* mat=TinyMATWriter_open("test.mat");
if (mat) {
	// a 3D matrix in row-major
	double mat432[4*3*2]= {
	    1,2,3,
		4,5,6,

		10,20,30,
		40,50,60,

		100,200,300,
		400,500,600,

		1000,2000,3000,
		4000,5000,6000,
	};
	int32_t mat432_size[3] = {3,2,4}; // columns, rows, matrices,...

	// a struct as a map of doubles
	std::map<std::string, double> mp1;
	mp1["x"]=100;
	mp1["y"]=200;
	mp1["z"]=300;
	mp1["longname"]=10000*M_PI;

	TinyMATWriter_writeStruct(mat, "struct1", mp1);
	TinyMATWriter_writeMatrixND_rowmajor(mat, "matrix432", mat432, mat432_size, 3);

	TinyMATWriter_close(mat);
}

Library Bindings

Documentation

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].