Where do I find the source code for matlab's mat.h header file function macros?
6 views (last 30 days)
Show older comments
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 Comments
Answers (1)
Kaustubha Govind
on 4 Sep 2013
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 Comments
See Also
Categories
Find more on Workspace Variables and MAT Files in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!