function nSessions = getNumberOfSessions(des) nSessions = length(des.Sess); % nSessions = model.nSessions; end