Running a function with inputs read by another file
8 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
hello all.
I want to use a function but the inputs of it are read from a file. Is it possible to be done without a loop?
e.g. f=myfunction(doy, y, ozone, aod, sza) and doy, y, ozone, aod and sza exist to another file that looks like:
155 2004 250 1.3 60
156 2004 260 1.2 40
.
.
.
So I have to read the inputs and then apply myfunction for each input line of the file.
I suspect that @ could be used (or not?!), but I have no idea how, since I haven't used it before...
Any help, please?
Thank you in advance.
Kind regards, Melina.
Respuestas (0)
Ver también
Categorías
Más información sobre MATLAB Report Generator 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!