reading an input file and writing an output file name with input values
Afficher commentaires plus anciens
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
Réponses (3)
Image Analyst
le 5 Sep 2013
0 votes
Just look up fgetl() and fprintf() and follow the examples.
Tabitha
le 5 Sep 2013
0 votes
Catégories
En savoir plus sur Programming dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!