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


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 ]