GetValues@SimulationData

From COSSAN Wiki
Jump to: navigation, search

Description

This method retrieves the samples of the required quantity of interest from the  SimulationOutput object. If the required variable is a Dataseries it is not returned. 

Input Arguments

Name

Type
required
Default value  description
Sname string no Xobj.Cnames name of a single variable to be retrieved
CSnames cell array of strings no Xobj.Cnames name of the variables to be retrieved

Important.png Do not use Sname and CSnames together
If the arguments Sname and CSnames are both passed to the method the selected names are the names defined by the latest passed argument.


Output Arguments

The method returns a matrix (or a vector) that contains the required data.

Usage

 Vsamples  = XSimOut.getValues('Sname','out1')

where XSimOut is a SimulationData object and out1 is a variable present in the object.

See Also