Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Loading MATLAB mat-file in C++

Status
Not open for further replies.

alitavakol

Member level 2
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

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top