Static utility methods for topsDataLog and multiple Matlab instances.
dotsDataLogUtilities provides static methods for working synchronizing topsDataLog across multiple Matlab instances. The methods expect ensemble objects, which can be connected to any remote Matlab instances. They facilitate sending data from from the local Matlab instance to remote Matlab instances, and for writing log data to disk in a remote Matlab instance.
static writeToDisk |
( |
ensemble |
, |
|
|
fileWithPath |
, |
|
|
isAutomated |
|
|
) |
| |
|
static |
Write new topsDataLog data to a remote disk.
- Parameters
-
ensemble | ensemble object connected to a remote Matlab |
fileWithPath | name and path of the data file to write |
isAutomated | whether to automatically write data to disk |
Instructs a remote Matlab instance, via the given ensemble, to write topsDataLog data to disk. By default, this happens once. If isAutomated is true, the remote counterpart of the given ensemble will continuously attempt to write new data to disk, whenever new data re available.