Import / read / load variables from matlab matfile in C# [closed]

One option to try is the submission CSMatIO by David Zier on the MathWorks File Exchange. It’s an API for .NET 2.0 that will allow you to read level 5 .mat files.

If you have to read newer .mat file formats, you can first load your .mat file into MATLAB and resave it as an older format using the SAVE function’s version option.

Leave a Comment