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

 Akzeptierte Antwort

Azzi Abdelmalek
Azzi Abdelmalek am 25 Jun. 2015

2 Stimmen

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

Weitere Antworten (0)

Kategorien

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by