I need to save every mean from this structure into a vector. (there are 270 fields)

m_vector(1:270) = s(11).structure.mean(1:270) does not work and I am not sure why

Skip to content# MATLAB: Indexing a field in a structure

structures

I need to save every mean from this structure into a vector. (there are 270 fields)

m_vector(1:270) = s(11).structure.mean(1:270) does not work and I am not sure why

## Best Answer