Go to the source code of this file.
Data Structures | |
struct | GMATLABDATAFILECONFIG |
Macros | |
#define | TRUE 1 |
#define | FALSE 0 |
Typedefs | |
typedef struct GMATLABDATAFILECONFIG * | PGMATLABDATAFILECONFIG |
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) |
#define FALSE 0 |
Definition at line 11 of file gmatlabdatafile.h.
Referenced by gDataLogger_DeclareVariable(), gDataLogger_Init(), gDataLogger_InsertVariable(), gDataLogger_IPCUpdate(), gDataLogger_MatfileUpdate(), gMATLABDataFile_OpenRead(), gMATLABDataFile_OpenWrite(), gMATLABDataFile_SaveMatrix(), gMATLABDataFile_SaveVector(), gQUEUE_GetNumberOfUnreadData(), gQUEUE_GetReadIndex(), gQUEUE_GetWriteIndex(), gQUEUE_Init(), gQUEUE_RequestLastReadIndex(), gQUEUE_RequestReadIndex(), gQUEUE_RequestWriteIndex(), and gQUEUE_UnwrapReadIndex().
#define TRUE 1 |
Definition at line 10 of file gmatlabdatafile.h.
Referenced by gDataLogger_Close(), gDataLogger_DeclareVariable(), gDataLogger_Init(), gDataLogger_InsertVariable(), gDataLogger_IPCUpdate(), gDataLogger_MatfileUpdate(), gMATLABDataFile_OpenRead(), gMATLABDataFile_OpenWrite(), gMATLABDataFile_SaveMatrix(), gMATLABDataFile_SaveVector(), gQUEUE_GetNumberOfUnreadData(), gQUEUE_GetReadIndex(), gQUEUE_GetWriteIndex(), gQUEUE_Init(), gQUEUE_RequestLastReadIndex(), gQUEUE_RequestReadIndex(), gQUEUE_RequestWriteIndex(), gQUEUE_UnwrapReadIndex(), gQUEUE_UnwrapWriteIndex(), and ui_init().
typedef struct GMATLABDATAFILECONFIG * PGMATLABDATAFILECONFIG |
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().