Where do I find the source code for matlab's mat.h header file function macros?
조회 수: 6 (최근 30일)
이전 댓글 표시
I am trying to write a c program that will read variables from .mat files, and need to use a few programs from matlab's mat.h file to do so. I have included both of these files in my c program, but my computer cannot find the definitions of certain functions like matClose and matDeleteVariable. The computer has no other visible error in drawing from the mat.h file (it can define a variable of the MATFile, for example). I can see the functions prototypes in the mat.h header file, but am perplexed as to why the function definitions would not be accessible.
댓글 수: 0
답변 (1개)
Kaustubha Govind
2013년 9월 4일
You might want to read the section on Compiling and Linking MAT-File Programs to make sure that you're building your code with the right options/settings.
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Workspace Variables and MAT Files에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!