Reading a .mat file in C++
1 次查看(过去 30 天)
显示 更早的评论
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.
0 个评论
回答(1 个)
Ken Atwell
2014-9-6
1 个评论
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!!
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Convert Image Type 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!