image - how to add a new field to an array of structures in Matlab -


i have large array of structures fields a(1:10000).image, a(1:10000).size, ...

i need add new field, let's a.number. need see a.image in order assign new field value a.number (an integer value).

this pseudo-code of need:

for k=1:10000     imshow(a(k).image)     enter number keyboard assigned a(k).number     load next image end 

i guess gui/script best. code in fast way?

how input?

for k=1:10000     imshow(a(k).image)     a(k).number = input('enter value'); end 

Comments

Popular posts from this blog

javascript - Using jquery append to add option values into a select element not working -

Android soft keyboard reverts to default keyboard on orientation change -

Rendering JButton to get the JCheckBox behavior in a JTable by using images does not update my table -