Session

A session is started whenever CuBatch is started, a new set of data is imported, a session file is loaded or whenever is requested via the menu "Files -> New". A new session is also started if a model file is loaded.


Session file

A session file contains the following structures: ModelIn, ModelOut and the cell array X.
It is created by means of the menu "Files -> Save Session" or by pressing the save button on the main window toolbar.

An old session can be loaded using the menu "Files -> Open" or the "Open" button on the toolbar.
If the proper structures are not present in the file an error message appears.


Model file

A session file contains only the structure ModelOut defining the model.
A new model would cancel the current session (NB: no warning will appear!)

To save a Model use the menu: "Files -> Export -> Model to plant".