Is it possible to collect length of filed values without a for cycle?
Infos
Cette question est clôturée. Rouvrir pour modifier ou répondre.
Afficher commentaires plus anciens
Is it possible to fill the size vector fithout a for cycle?
for i = 1:length(params)
size(i) = length(params(i).values);
end
1 commentaire
KSSV
le 16 Oct 2018
Have a look on structfun
Réponses (0)
Cette question est clôturée.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!