User Activity

  • Posted a comment on discussion Help on MAT File I/O Library

    Hi, thanks for response. Here is link with mat file https://files.fm/u/pxpthu5r I use matio 1.5.12 and file was saved with Matlab R2016. I have problem with matdump. My compilers don't recognize it's Makefile. I work on Windows so I will try to make it with some Cygwin but don't know how to do it right now.

  • Modified a comment on discussion Help on MAT File I/O Library

    I try to read symbolic data stored in a mat file in C++. Code saving data in Matlab is: syms a; save resultA.mat a -v7; Here is my c++ code which I run: using namespace std; mat_t matfp; matvar_t matvar; matvar_t *matvar1; matfp = Mat_Open(fileName, MAT_ACC_RDONLY); if ( NULL == matfp ) { fprintf(stderr,"Error opening MAT file"); } while((matvar = Mat_VarReadNext(matfp)) != NULL){ cout << "New var " << endl; Mat_VarPrint(matvar, 1); if(matvar->rank > 0){ const char *var = static_cast<const char*>(matvar->data);...

  • Posted a comment on discussion Help on MAT File I/O Library

    I try to read symbolic data stored in a mat file in C++. Code saving data in Matlab is: syms a; save resultA.mat a -v7; Here is my c++ code which I run: using namespace std; mat_t matfp; matvar_t matvar; matvar_t *matvar1; matfp = Mat_Open(fileName, MAT_ACC_RDONLY); if ( NULL == matfp ) { fprintf(stderr,"Error opening MAT file"); } while((matvar = Mat_VarReadNext(matfp)) != NULL){ cout << "New var " << endl; Mat_VarPrint(matvar, 1); if(matvar->rank > 0){ const char *var = static_cast<const char*>(matvar->data);...

View All

Personal Data

Username:
bpiwo
Joined:
2018-08-02 07:04:28

Projects

  • No projects to display.

Personal Tools

MongoDB Logo MongoDB