File mttroot/ntt/bin/trans/mttGetFieldNames.m artifact 371982056a part of check-in 745f0b3e31
function namelist = mttGetFieldNames(structure,component) namelist = [] ; if isfield(structure,component) field = getfield(structure,component) ; if ~isempty(field) namelist = fieldnames(field) ; end end