Why following program is displaying the value of B but not writing in a file.
How to solve this issue?
write = fopen('tempresults.dat','a');
syms T;
B = vpa(int(exp(-(65000.0)/(8.34*T)),273.15,573.15))
fprintf(write,'%e',B);

 채택된 답변

Azzi Abdelmalek
Azzi Abdelmalek 2015년 6월 25일

2 개 추천

A=double(B)
fprintf(write,'%e',A);

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Structures에 대해 자세히 알아보기

태그

질문:

2015년 6월 25일

댓글:

2015년 6월 25일

Community Treasure Hunt

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

Start Hunting!

Translated by