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