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.

 채택된 답변

Mark
Mark 2016년 3월 22일

1 개 추천

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.

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Introduction to Installation and Licensing에 대해 자세히 알아보기

제품

질문:

2016년 3월 22일

답변:

2016년 3월 22일

Community Treasure Hunt

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

Start Hunting!

Translated by