Data storage in matlab.
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
Hi, I have a cpp code and I'm running it in matlab using mex command. I tried storing my program output in a '.dat' file (using fprintf command), but all the data isn't get printed. Some portion of data is lost. Why is it so? The code runs well when I run it in VS and output is also ok. But Matlab is giving problem.
3 comentarios
Jan
el 24 de Jul. de 2012
Please show us the corresponding code and explain how you find out, that the data are not printed.
Sean de Wolski
el 25 de Jul. de 2012
Amit's comment from flag:
Thanks Walter. Not fclose()ing the file was the cause of problem. Thanks alot.
Respuestas (0)
Ver también
Categorías
Más información sobre Whos 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!