pwAddDataFromDb


 pwAddDataFromDb(dbFile, experiment, stimulations, useRegExp)

 Adds one experiment from a PottersWheel database file to the
 currently selected model.

 

Arguments for pwAddDataFromDb

 dbFile        Optional: Name of the database file. Compare pwDbCreate.
               If empty, a selection GUI will be shown.
 experiment    Optional: Name of the experiment to be added.
               If empty, a selection GUI will be shown.
 stimulations  Optional: String array of stimulations to be added.
               If empty, a selection GUI will be shown.
               If stimulations = 'all', all stimulations will be added.
 useRegExp     Boolean. If true, the elements of the stimulations string array
               are treated as regular expression patterns. All stimulations are
               added where one (or more) pattern matches.
               Default: false

 

Description

 Each PottersWheel database (PWDB) consists of a set of experiments.
 Each experiment comprises a set of stimulations.
 The present function allows to add one experiment to the
 currently selected model(s) with all or only a subset of corresponding
 stimulations. The used stimulations are specified in the
 array <stimulationNames>.

See also

pwDbCreate
pwDbShowStimulations
pwGetEmptyDataSet