File mttroot/ntt/bin/trans/mttGetFieldLength.m artifact ffab5c2924 part of check-in d6a37713ef


function N = mttGetFieldLength(structure,vector)
    N = 0 ;
    if isfield(structure,vector)
        N = length(getfield(structure,vector)) ;
    end


MTT: Model Transformation Tools
GitHub | SourceHut | Sourceforge | Fossil RSS ]