Code covered by the BSD License  

Highlights from
Mia 2.4

image thumbnail

Mia 2.4



02 Apr 2004 (Updated )

Medical Image Analysis GUI.

function S = structrows(L,in)
% STRUCTROWS Selects rows of a table from XLS2STRUCT
% S = STRUCTROWS(L,IN) selects the rows in IN from the structure L and
% outputs them in the structure S.

f = fieldnames(L);
for i = 1:length(f)
  v = L.(f{i});
  S.(f{i}) = v(in);

Contact us