Running a function with inputs read by another file

8 Ansichten (letzte 30 Tage)
Melina Maria
Melina Maria am 7 Nov. 2014
Kommentiert: Azzi Abdelmalek am 7 Nov. 2014
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.

Antworten (0)

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!

Translated by