Where do I find the source code for matlab's mat.h header file function macros?

6 visualizaciones (últimos 30 días)
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.

Respuestas (1)

Kaustubha Govind
Kaustubha Govind el 4 de Sept. de 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.

Categorías

Más información sobre Workspace Variables and MAT Files en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by