Go to the source code of this file.
Data Structures | |
struct | MATLAB_DATAHEAD |
Typedefs | |
typedef struct MATLAB_DATAHEAD * | PMATLAB_DATAHEAD |
Functions | |
int | gMATLABDataFile_OpenWrite (PGMATLABDATAFILECONFIG pGMatlabDataFileConfig, char *filename, char *dirname) |
int | gMATLABDataFile_OpenRead (PGMATLABDATAFILECONFIG pGMatlabDataFileConfig, char *filename, char *dirname) |
void | gMATLABDataFile_Close (PGMATLABDATAFILECONFIG pGMatlabDataFileConfig) |
int | gMATLABDataFile_SaveVector (PGMATLABDATAFILECONFIG pGMatlabDataFileConfig, const char *varname, double *v, long nlin) |
int | gMATLABDataFile_SaveMatrix (PGMATLABDATAFILECONFIG pGMatlabDataFileConfig, const char *varname, double **m, long nlin, long ncol) |
typedef struct MATLAB_DATAHEAD * PMATLAB_DATAHEAD |
void gMATLABDataFile_Close | ( | PGMATLABDATAFILECONFIG | pGMatlabDataFileConfig | ) |
Definition at line 58 of file gmatlabdatafile.c.
References GMATLABDATAFILECONFIG::fp.
Referenced by gDataLogger_Close().
int gMATLABDataFile_OpenRead | ( | PGMATLABDATAFILECONFIG | pGMatlabDataFileConfig, |
char * | filename, | ||
char * | dirname | ||
) |
Definition at line 40 of file gmatlabdatafile.c.
References FALSE, GMATLABDATAFILECONFIG::FileName, GMATLABDATAFILECONFIG::FlagStillNotSaved, GMATLABDATAFILECONFIG::fp, and TRUE.
int gMATLABDataFile_OpenWrite | ( | PGMATLABDATAFILECONFIG | pGMatlabDataFileConfig, |
char * | filename, | ||
char * | dirname | ||
) |
Definition at line 21 of file gmatlabdatafile.c.
References FALSE, GMATLABDATAFILECONFIG::FileName, GMATLABDATAFILECONFIG::FlagStillNotSaved, GMATLABDATAFILECONFIG::fp, and TRUE.
Referenced by gDataLogger_Init().
int gMATLABDataFile_SaveMatrix | ( | PGMATLABDATAFILECONFIG | pGMatlabDataFileConfig, |
const char * | varname, | ||
double ** | m, | ||
long | nlin, | ||
long | ncol | ||
) |
Definition at line 92 of file gmatlabdatafile.c.
References FALSE, GMATLABDATAFILECONFIG::FlagStillNotSaved, GMATLABDATAFILECONFIG::fp, MATLAB_DATAHEAD::imagf, MATLAB_DATAHEAD::mrows, MATLAB_DATAHEAD::namlen, MATLAB_DATAHEAD::ncols, TRUE, and MATLAB_DATAHEAD::type.
int gMATLABDataFile_SaveVector | ( | PGMATLABDATAFILECONFIG | pGMatlabDataFileConfig, |
const char * | varname, | ||
double * | v, | ||
long | nlin | ||
) |
Definition at line 64 of file gmatlabdatafile.c.
References FALSE, GMATLABDATAFILECONFIG::FlagStillNotSaved, GMATLABDATAFILECONFIG::fp, MATLAB_DATAHEAD::imagf, MATLAB_DATAHEAD::mrows, MATLAB_DATAHEAD::namlen, MATLAB_DATAHEAD::ncols, TRUE, and MATLAB_DATAHEAD::type.
Referenced by gDataLogger_Close(), and gDataLogger_MatfileUpdate().