Is there a dataset both matlab and VC++ can use?

1 visualización (últimos 30 días)
C Zeng
C Zeng el 27 de Feb. de 2013
Hello, want to program to store a result to file, which dataset can both Matlab and C++ read?
I know Matlab can save it to .mat file but C++ may not be able to read it.
Thanks.

Respuesta aceptada

Walter Roberson
Walter Roberson el 27 de Feb. de 2013
If you want a true database, there is the Database Toolkit.
But if you are talking about .mat files, then
  1. Yes, you can program C++ to read .mat files; but
  2. it is usually easier to transfer the data in binary such as by using fwrite()
  7 comentarios
Walter Roberson
Walter Roberson el 3 de Mzo. de 2013
So if you address A(I,J) in MATLAB, it would be A[J][I] in C
C Zeng
C Zeng el 7 de Mzo. de 2013
Thanks, Walter!

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Data Import and Analysis 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