Running a function with inputs read by another file
8 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
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.
1 Kommentar
Antworten (0)
Siehe auch
Kategorien
Mehr zu MATLAB Report Generator 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!