Main Content

matlab.perftest.FixedTimeExperiment Class

Namespace: matlab.perftest
Superclasses: matlab.perftest.TimeExperiment

TimeExperiment that collects fixed number of measurements


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.


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