reading an input file and writing an output file name with input values
4 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Hi guys,
I've written a .m file that runs as a script and has several input values and a path to one input file.
I'd like to have an input file that the script reads at the beginning, but I don't know how to have the script read an input file.
I'd also like to create the output file using my fprintf that has a name with some of the input values, that way I know what results go with what inputs. I also don't know how to do that.
any help would be sooooo much appreciated!
Tabby
0 Kommentare
Antworten (3)
Image Analyst
am 5 Sep. 2013
Just look up fgetl() and fprintf() and follow the examples.
0 Kommentare
Siehe auch
Kategorien
Mehr zu Argument Definitions finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!