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

 Réponse acceptée

Azzi Abdelmalek
Azzi Abdelmalek le 25 Juin 2015

2 votes

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

Plus de réponses (0)

Catégories

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by