This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English version of the page.

Note: This page has been translated by MathWorks. Click here to see
To view all translated materials including this page, select Country from the country navigator on the bottom of this page.

matlab.perftest.FixedTimeExperiment class

Package: 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.

Introduced in R2016a