runExperiment
R2026bSyntax
Description
runs the specified experiment and returns the result in an
result = runExperiment(projectFolder,experimentName)ExperimentResult object. You must create and configure the
experiment in the Experiment Manager app before you can run it
programmatically.
also specifies whether to run multiple trials simultaneously. Enabling this
option reduces execution time for long-running experiments. This syntax requires Parallel Computing Toolbox™.result = runExperiment(projectFolder,experimentName,UseParallel=parallelopt)
Examples
Input Arguments
Output Arguments
Limitations
The
runExperimentfunction does not support running an experiment on a cluster. Use the Experiment Manager app to run batch experiments.
Version History
Introduced in R2026b