Zum Hauptinhalt wechseln
Nahaufnahme von Händen auf Laptop

Generalized file handling in Mosel

This paper describes the I/O drivers of the Mosel distribution with examples of their use.

Whitepaper

With only minimal changes to his models the user may switch between data sources of different formats. The interaction and exchange of data between a model and the application executing it can be made more immediate and as a consequence, more efficient. It is also possible to avoid the creation of physical intermediate files by performing all operations in memory. The latter may be useful, for instance, in distributed applications.

With the help of the Mosel Native Interface (NI) the user may also implement his own drivers. We introduce some applications of this feature: a driver for working with compressed files and an example generating C code with a Mosel model.