This example program creates a MAT file named by the first argument to the program, and writes the variable named m_pi to the file in order to build a 2x1 array. The function returns 0 if the variable was successfully written/appended to the MAT file. If compression is not available, the variable is written uncompressed. The compress option allows the variable to be written using zlib compression if available. To view or set the default version for MAT-files, go to the Home tab and in the Environment section, click Preferences. If the MATLAB variable already exists in the MAT file, the new data is appended to this variable along the (index 1 based) dimension d. If the MATLAB variable already exists in the MAT file, the new data is appended to this variable along the (index 1 based) dimension d. For cell arrays, structure arrays, or other containers that can store heterogeneous data types, Version 7.3 MAT-files are sometimes larger than Version 7 MAT-files. The Mat_VarWriteAppend() function writes (and optionally appends) the MATLAB variable matvar to the MAT file matfp which must be opened for writing. Mat_VarWriteAppend( mat_t *matfp, matvar_t *matvar, enum matio_compression compress, int dim) Description Writes/appends a MATLAB variable to an HDF5 format MATLAB MAT file.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |