Using structure in loop with different fields
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
naman
am 13 Jun. 2015
Kommentiert: Azzi Abdelmalek
am 13 Jun. 2015
Hi
I have two loops
for i = 1:m
for j = 1:n
hh = call_some_function
end
end
and hh is a structure with three different fields. I want to use hh for all i and j so that I can use it somewhere. How can I do it ?
1 Kommentar
Akzeptierte Antwort
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Structures 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!