{"id":18884282,"url":"https://github.com/jkriege2/tinymat","last_synced_at":"2026-03-04T13:01:25.313Z","repository":{"id":35112134,"uuid":"39296210","full_name":"jkriege2/TinyMAT","owner":"jkriege2","description":"C/C++ library to handle writing simple Matlab(r) MAT file","archived":false,"fork":false,"pushed_at":"2024-05-21T11:29:46.000Z","size":1275,"stargazers_count":47,"open_issues_count":5,"forks_count":21,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-08-13T02:55:00.869Z","etag":null,"topics":["cpp","file-format","lib","mat-files","matlab"],"latest_commit_sha":null,"homepage":"http://jkriege2.github.io/TinyMAT/","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"willnorris/imageproxy","license":"lgpl-2.1","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jkriege2.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2015-07-18T11:30:51.000Z","updated_at":"2025-06-09T13:49:01.000Z","dependencies_parsed_at":"2024-05-21T10:12:24.980Z","dependency_job_id":"adeacc11-de2e-4bea-9537-7d7e00f9f22d","html_url":"https://github.com/jkriege2/TinyMAT","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/jkriege2/TinyMAT","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jkriege2%2FTinyMAT","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jkriege2%2FTinyMAT/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jkriege2%2FTinyMAT/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jkriege2%2FTinyMAT/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jkriege2","download_url":"https://codeload.github.com/jkriege2/TinyMAT/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jkriege2%2FTinyMAT/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30081051,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-04T12:28:08.313Z","status":"ssl_error","status_checked_at":"2026-03-04T12:27:28.210Z","response_time":59,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cpp","file-format","lib","mat-files","matlab"],"created_at":"2024-11-08T07:11:59.193Z","updated_at":"2026-03-04T13:01:25.090Z","avatar_url":"https://github.com/jkriege2.png","language":"C++","readme":"# TinyMAT\nA (partly templated) C++ library to handle writing simple Matlab(r) MAT file in Version \"MATLAB 5.0\" or higher\n\nThis 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\n\nIt is licensed under the terms of the GNU Lesser general Public license (LGPL) \u003e=2.1\n\n\n[![Lates Release](https://img.shields.io/github/v/release/jkriege2/TinyMAT)](https://github.com/jkriege2/TinyMAT/releases)\n\n![Language](https://img.shields.io/github/languages/top/jkriege2/TinyMAT)\n\n[![Documentation](https://img.shields.io/badge/documentation-online-blue)](http://jkriege2.github.io/TinyMAT/index.html)\n\n[![Last Commit](https://img.shields.io/github/last-commit/jkriege2/TinyMAT)](https://github.com/jkriege2/TinyMAT/pulse)\n[![Contributors](https://img.shields.io/github/contributors/jkriege2/TinyMAT)](https://github.com/jkriege2/TinyMAT/graphs/contributors)\n\n[![Open Issues](https://img.shields.io/github/issues/jkriege2/TinyMAT)](https://github.com/jkriege2/TinyMAT/issues)\n[![Closed Issues](https://img.shields.io/github/issues-closed/jkriege2/TinyMAT)](https://github.com/jkriege2/TinyMAT/issues?q=is%3Aissue+is%3Aclosed)\n\n[![Open PRs](https://img.shields.io/github/issues-pr/jkriege2/TinyMAT)](https://github.com/jkriege2/TinyMAT/pulls)\n[![Closed PRs](https://img.shields.io/github/issues-pr-closed/jkriege2/TinyMAT)](https://github.com/jkriege2/TinyMAT/pulls?q=is%3Apr+is%3Aclosed)\n\n[![BUILD-MSVC-CI](https://github.com/jkriege2/TinyMAT/actions/workflows/build_windows.yml/badge.svg)](https://github.com/jkriege2/TinyMAT/actions/workflows/build_windows.yml)\n[![BUILD-LINUX-CI](https://github.com/jkriege2/TinyMAT/actions/workflows/build_linux.yml/badge.svg)](https://github.com/jkriege2/TinyMAT/actions/workflows/build_linux.yml)\n[![MSVC-CodeAnalysis](https://github.com/jkriege2/TinyMAT/actions/workflows/msvc-codeanalysis.yml/badge.svg)](https://github.com/jkriege2/TinyMAT/actions/workflows/msvc-codeanalysis.yml)\n[![Docu-Build](https://github.com/jkriege2/TinyMAT/actions/workflows/build_docs.yml/badge.svg)](https://github.com/jkriege2/TinyMAT/actions/workflows/build_docs.yml)\n\n# Example\nThe following example code writes some arrays and matrices into a MAT-file:\n```C++\nTinyMATWriterFile* mat=TinyMATWriter_open(\"test.mat\");\nif (mat) {\n\t// a 3D matrix in row-major\n\tdouble mat432[4*3*2]= {\n\t    1,2,3,\n\t\t4,5,6,\n\n\t\t10,20,30,\n\t\t40,50,60,\n\n\t\t100,200,300,\n\t\t400,500,600,\n\n\t\t1000,2000,3000,\n\t\t4000,5000,6000,\n\t};\n\tint32_t mat432_size[3] = {3,2,4}; // columns, rows, matrices,...\n\n\t// a struct as a map of doubles\n\tstd::map\u003cstd::string, double\u003e mp1;\n\tmp1[\"x\"]=100;\n\tmp1[\"y\"]=200;\n\tmp1[\"z\"]=300;\n\tmp1[\"longname\"]=10000*M_PI;\n\n\tTinyMATWriter_writeStruct(mat, \"struct1\", mp1);\n\tTinyMATWriter_writeMatrixND_rowmajor(mat, \"matrix432\", mat432, mat432_size, 3);\n\n\tTinyMATWriter_close(mat);\n}\n```\n\n\n# Library Bindings\n\n* There exists a plugin for the [CImg image processing library](https://cimg.eu/), that uses TinyMATWriter: https://github.com/dtschump/CImg/blob/master/plugins/tinymatwriter.h .\n\n# Documentation\n\n* library docukentation: https://travis-ci.org/jkriege2/TinyMAT\n* API documentation: http://jkriege2.github.io/TinyMAT/group__tinymatwriter.html\n* build instructions: http://jkriege2.github.io/TinyMAT/page_buildinstructions.html\n* usage instructions:http://jkriege2.github.io/TinyMAT/page_useinstructions.html\n\n\n\n## Stargazers over time\n\n[![Stargazers over time](https://starchart.cc/jkriege2/TinyMAT.svg)](https://starchart.cc/jkriege2/TinyMAT)\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjkriege2%2Ftinymat","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjkriege2%2Ftinymat","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjkriege2%2Ftinymat/lists"}