Data storage in matlab.

조회 수: 6 (최근 30일)
Amit Kalhapure
Amit Kalhapure 2012년 7월 24일
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
Jan
Jan 2012년 7월 24일
Please show us the corresponding code and explain how you find out, that the data are not printed.
Sean de Wolski
Sean de Wolski 2012년 7월 25일
Amit's comment from flag:
Thanks Walter. Not fclose()ing the file was the cause of problem. Thanks alot.

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 MATLAB Compiler에 대해 자세히 알아보기

태그

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by