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

 Accepted Answer

More Answers (0)

Categories

Tags

Community Treasure Hunt

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

Start Hunting!