ensemble.ensemble

Create an ensemble object for a saved state vector ensemble


Syntax



Description

obj = ensemble(filenames)

Creates an array of ensemble objects for the specified .ens files. Each ensemble object can be used to manipulate and load subsets of a saved ensemble while limiting use of computer memory. The label of each ensemble object will match the label of the stateVector object used to build the ensemble.

obj = ensemble(filenames, labels)

Specify the labels to apply to each ensemble object.


Input Arguments

filenames

string array | cellstring array | char row vector
The names of the .ens files to build ensemble objects for

labels

string array
Labels for each of the elements in the array of ensemble objects. Must have a size that matches the number of input filenames.

Output Arguments

obj

ensemble object array
An array of ensemble objects for the specified .ens files. The size will match the number of provided filenames.