Loading MATLAB mat-file in C++

Status
Not open for further replies.

alitavakol

Member level 2
Joined
Dec 1, 2005
Messages
47
Helped
2
Reputation
4
Reaction score
0
Trophy points
1,286
Location
Iran
Activity points
1,653
loading mat file in c++

Hello All,
MATLAB has some help documents about loading mat-files in c language, but not adequate help for me.
can anyone help me or give a dll or h file containing necessary routines? MATLAB has mat-file related dll, but I can not link it to my program (in Visual C++). its lnk file is not provided.
 

c++ importing mat file

Hi,

I think you would need to include the declaration #include "mat.h" in your C++ code and also to add the libmat.lib to your project

I think you can go to sites like https://www.codeproject.com to take a look. I think someone has write a series of articles on how to interface matlab with C++
 

    alitavakol

    Points: 2
    Helpful Answer Positive Rating
Status
Not open for further replies.

Similar threads

Cookies are required to use this site. You must accept them to continue using the site. Learn more…