Hi Everyone!
I have a .mat file that consists of pixels of an image. I want to read them and display it using a C++ IDE, say Visual Studio. How do I go about doing this? I am a newbie to Matlab and I have no clue how to use that file. Thanks in advance.

답변 (1개)

Ken Atwell
Ken Atwell 2014년 9월 6일

0 개 추천

You're looking for the MAT-File API.

댓글 수: 1

Yezheng Li
Yezheng Li 2016년 2월 17일
I know about MAT-File API. However, when I am including "mat.h" by linking to (MATLAB_DIR)/extern/include, I get the problem: undefined reference "matOpen".
How can I fixed it? I try to use google to find the answer but failed1!!

댓글을 달려면 로그인하십시오.

카테고리

도움말 센터File Exchange에서 Convert Image Type에 대해 자세히 알아보기

질문:

2014년 9월 6일

댓글:

2016년 2월 17일

Community Treasure Hunt

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

Start Hunting!

Translated by