Writing parameters to a text file
Show older comments
Hello all,
I was hoping that someone could help me with writing a text file in matlab. What i have is a program that has many initial parameters and then goes through stages of calculations and graphing. at the end of the program i use the imwrite command to save the pictures however, what i am wondering is how to save a text file with a list of the initial parameters and what ever other information i want...
something of the form:
LOG INFORMATION
Wavelength:
Source to Object:
etc.
Thank you BN
Accepted Answer
More Answers (1)
David Young
on 22 Jun 2011
0 votes
See doc fprintf. This will do exactly what you want.
Categories
Find more on Data Import and Export in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!