Getting Error with fprintf

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

 Risposta accettata

Azzi Abdelmalek
Azzi Abdelmalek il 25 Giu 2015
A=double(B)
fprintf(write,'%e',A);

Più risposte (0)

Tag

Community Treasure Hunt

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

Start Hunting!

Translated by