reading an input file and writing an output file name with input values
4 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
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 comentarios
Respuestas (3)
Image Analyst
el 5 de Sept. de 2013
Just look up fgetl() and fprintf() and follow the examples.
0 comentarios
Ver también
Categorías
Más información sobre Argument Definitions en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!