RampSaturateDiagram Context if isnumeric(duration) && duration==0 error('Zero duration not supported; use Step block instead'); end