Main Content

matlab.perftest.FixedTimeExperiment class

Package: matlab.perftest
Superclasses: matlab.perftest.TimeExperiment

TimeExperiment that collects fixed number of measurements

Description

A FixedTimeExperiment is an instance of the TimeExperiment class that collects a fixed number of measurements.

To create a FixedTimeExperiment instance, use the matlab.perftest.TimeExperiment.withFixedSampleSize static method.

Properties

expand all

Number of warm-up measurements, specified as a nonnegative integer. NumWarmups defines the number of times that the test framework runs the test code to warm it up.

Number of sample measurements to collect after warm-up, specified as a positive integer.

Copy Semantics

Handle. To learn how handle classes affect copy operations, see Copying Objects.

Version History

Introduced in R2016a