Using structure in loop with different fields
2 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
naman
el 13 de Jun. de 2015
Comentada: Azzi Abdelmalek
el 13 de Jun. de 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 comentario
Respuesta aceptada
Más respuestas (0)
Ver también
Categorías
Más información sobre Whos 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!