MatFileHandler | MATLAB .mat-file reading/writing API for .NET Standard

 by   mahalex C# Version: v1.3.0 License: MIT

kandi X-RAY | MatFileHandler Summary

kandi X-RAY | MatFileHandler Summary

MatFileHandler is a C# library. MatFileHandler has no bugs, it has no vulnerabilities, it has a Permissive License and it has low support. You can download it from GitHub.

MatFileHandler is a .NET library for reading and writing MATLAB .mat files (of so-called "Level 5"). MatFileHandler supports numerical arrays, logical arrays, sparse arrays, char arrays, cell arrays and structure arrays. Moreover, MatFileHandler is able to read the contents of MATLAB objects, and is currently probably the only third-party library that can do that. Since the format for storing MATLAB objects seems to be obscure and undocumented, support for them is preliminary and probably contains bugs. You can find (partial) technical description of MATLAB object data format here. This document briefly describes how to perform simple operations with .mat files using MatFileHandler. If you have questions and/or ideas, you can [file a new issue] (or contact me directly at mahalex@gmail.com.
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              MatFileHandler has a low active ecosystem.
              It has 32 star(s) with 11 fork(s). There are 6 watchers for this library.
              OutlinedDot
              It had no major release in the last 12 months.
              There are 8 open issues and 6 have been closed. On average issues are closed in 49 days. There are 1 open pull requests and 0 closed requests.
              It has a neutral sentiment in the developer community.
              The latest version of MatFileHandler is v1.3.0

            kandi-Quality Quality

              MatFileHandler has 0 bugs and 0 code smells.

            kandi-Security Security

              MatFileHandler has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
              MatFileHandler code analysis shows 0 unresolved vulnerabilities.
              There are 0 security hotspots that need review.

            kandi-License License

              MatFileHandler is licensed under the MIT License. This license is Permissive.
              Permissive licenses have the least restrictions, and you can use them in most projects.

            kandi-Reuse Reuse

              MatFileHandler releases are available to install and integrate.
              Installation instructions are not available. Examples and code snippets are available.

            Top functions reviewed by kandi - BETA

            kandi's functional review helps you automatically verify the functionalities of the libraries and avoid rework.
            Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of MatFileHandler
            Get all kandi verified functions for this library.

            MatFileHandler Key Features

            No Key Features are available at this moment for MatFileHandler.

            MatFileHandler Examples and Code Snippets

            MatFileHandler,Reading a .mat file
            C#dot img1Lines of Code : 24dot img1License : Permissive (MIT)
            copy iconCopy
            using MatFileHandler;
            IMatFile matFile;
            using (var fileStream = new System.IO.FileStream("example.mat", System.IO.FileMode.Open)) {
                var reader = new MatFileReader(fileStream);
                matFile = reader.Read();
            }
            
            IVariable variable = matFile["array"];  
            MatFileHandler,Writing a .mat file
            C#dot img2Lines of Code : 21dot img2License : Permissive (MIT)
            copy iconCopy
            using (var fileStream = new System.IO.FileStream("output.mat", System.IO.FileMode.Create)) {
                var writer = new MatFileWriter(fileStream);
                writer.Write(matFile);
            }
            
            var writer = new MatFileWriter(fileStream, new MatFileWriterOptions { UseCompre  
            MatFileHandler,Reading a .mat file,Object arrays
            C#dot img3Lines of Code : 13dot img3License : Permissive (MIT)
            copy iconCopy
            classdef Point
                properties
                    x
                    y
                end
            end
            
            public interface IMatObject : IArrayOf>
            {
                string ClassName { get; }
                IEnumerable FieldNames { get; }
                IArray this[string field, params int[] list] { get; set; }
            }
            
            var matObj  

            Community Discussions

            Trending Discussions on MatFileHandler

            QUESTION

            Including dll to Visual Studio project
            Asked 2017-Dec-20 at 12:36

            I need to read a mat file in a Visual Studio project. I'm using Visual Studio 2015 32bit on Windows 10 64 bit. I have installed a MatFileHandler library using NuGet Package Manager and got a MatFileHandler.dll file but I don't know how to use it. In program I've written use MatFileHandler but linker does not see this. Please don't judge me, I'm very new to Visual Studio.

            ...

            ANSWER

            Answered 2017-Dec-20 at 12:34

            MatFileHandler library is not a native C++ dll. It's .NET assembly and it depends on .NETStandard 2.0.

            You should create .NET application and add this NuGet package to it. Here is the step-by-step instruction on how to create .NET Core application.

            Source https://stackoverflow.com/questions/47905248

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install MatFileHandler

            You can download it from GitHub.

            Support

            For any new features, suggestions and bugs create an issue on GitHub. If you have any questions check and ask questions on community page Stack Overflow .
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries