reading an input file and writing an output file name with input values
7 vues (au cours des 30 derniers jours)
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
0 commentaires
Réponses (3)
Image Analyst
le 5 Sep 2013
Just look up fgetl() and fprintf() and follow the examples.
0 commentaires
Voir également
Catégories
En savoir plus sur Argument Definitions dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!