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);

1 件のコメント

Pratik Sheth
Pratik Sheth 2015 年 6 月 25 日
Thanks a lot!!

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by