Create duration convenience class for Matlab
Fixed indefinite duration of RepeatingRenderedStimulus