Create Matlab Mat-File Version 7.3 in C++

I have created a visual studio project in order to facilite developing an application that will read/write matlab mat files. It is required to use the HDF5 based version of the mat-files for different customers. To get started I have been following the examples in the matcreat.cpp and matdns.c files to read/write mat-files. These function calls work no problem, but when I try to call the pmat = matOpen(file, "w7.3"); the function produces a fatal error during runtime.
I have been unable to find any discussions regarding this issue.

 Akzeptierte Antwort

Mark
Mark am 22 Mär. 2016

1 Stimme

I figured it out...Visual Studio was finding another install of HDF5 in my path and was linking to this one rather than the one used by Mathworks in the matlab bin directory in the path.

Weitere Antworten (0)

Kategorien

Produkte

Gefragt:

am 22 Mär. 2016

Beantwortet:

am 22 Mär. 2016

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by