function len=sumLen(startno,stopno) %% =========================================================================== %sumLen - Local function moved from evalPBO (no local funcs in octave) % %% =========================================================================== %% =========================================================================== % Copyright (C): % 2001-2003 by Forschungszentrum Telekommunikation Wien, Austria; % All rights reserved. % Project : xDSLsimu % Author(s) : Bo Engstrom (bosse@upzide.com) % % CVS: $Id: sumLen.m,v 3.2 2003/11/03 12:33:22 tono Exp $ %% =========================================================================== % Change History % 2001-06-18 (Bosse) Octave port (Created) % 2003-11-03 (ToNo) Lists now use cell arrays for both Octave and Matlab %% =========================================================================== global ex; len=0; for nodeno=startno+1:stopno, x=ex.tt.topology{nodeno}; y=x{1}; len=len+y; end;