Overview of I/O drivers
I/O drivers defined by the Mosel core:
Driver | Description | Notes |
---|---|---|
bin | Write (and read) data files in a platform independent binary format | See example in Section bin: using Mosel's binary format |
cb | Use a (callback) function as a file | See example in Section cb: output to callback functions |
mem | Use memory instead of physical files for reading or writing data | See example in Section mem: working in memory |
null | Disable a stream | See example in Section null: disactivating a stream |
raw | Implementation of the initializations block in binary mode (data exchange with a C host application) | See example in Section raw: binary data format of the host application |
sysfd | Working with operating system file descriptors | See example in Section sysfd: working with system file descriptors |
tee | Output into up to 6 files simultaneously | See example in Section tee: multiple output destinations |
tmp | Extension to the default driver that locates the specified file in Mosel's temporary directory | See example in Section tmp: accessing the temporary directory of Mosel |
Drivers defined by modules of the Mosel distribution (documented in the Mosel Language Reference under the corresponding module or in the individual manuals as indicated):
Driver | Description | Notes |
---|---|---|
deploy.csrc | Generate a C file that embeds the compiled model | See note in Section Example: code generation |
deploy.exe | Generate a standalone executable to run a model | See note in Section Example: code generation |
matlab.mws | Data exchange in memory with the MATLAB workspace | See example in the 'Xpress MATLAB interface' manual |
mmetc.diskdata | Access data in text files in diskdata format | See example in Section Alternative text data file formats |
mmhttp.url | Access a file on an HTTP server via its URL | See example in Section mmhttp of the Mosel Language Reference Manual |
mminsight.scenariodata | Inter-scenario data access within Insight apps | See Chapter Inter-Scenario Data Access of the `Xpress Insight Mosel Interface Reference Manual' |
mmjobs.shmem | Data exchange between several models using shared memory | See example in Section mmjobs version of the example |
mmjobs.mempipe | Use memory pipes for data exchange between models | See the whitepaper `Multiple models and parallel solving with Mosel' for examples of mmjobs drivers |
mmjobs.rcmd | Starts the specified command in a new process and connects its standard input and output streams to the calling Mosel instance | |
mmjobs.rmt | Accessing physical files on a remote Mosel instance | |
mmjobs.xsrv | Connect to a (remote) host running the Mosel Remote Launcher xprmsrv | |
mmjobs.xssh | Secure version of the xsrv driver | |
mmoci.oci | Access an Oracle database for reading and writing in initializations blocks | See the whitepaper `Using ODBC and other database interfaces with Mosel' for examples |
mmodbc.odbc | Access data in external data sources via an ODBC connection in initializations blocks | Requires presence of datasource-specific ODBC driver; see example in Section Database access via ODBC |
mmsheet.csv | Access spreadsheets in CSV format in initializations blocks | |
mmsheet.excel | Access data in MS Excel spreadsheets directly in initializations blocks | Windows platforms only; see example in Section Spreadsheet drivers |
mmsheet.xls | Access spreadsheets in Excel's XLS format in initializations blocks | Under Windows, Linux, Mac |
mmsheet.xlsx | Access spreadsheets in Excel's XLSX and XLSM formats in initializations blocks | Like mmsheet.xls |
mmssl.base64 | Ascii to binary converter | See Section mmssl of the Mosel Language Reference Manual |
mmssl.crypt | Encryption/decryption using a symetric algorithm | |
mmssl.hex | Binary to ascii converter | |
mmsystem.pipe | Open a pipe and start an external program which as input or output stream | |
mmsystem.text | Use a string or text object as a file | See example in Section Multiline text or string |
python3.python | Data exchange in memory with Python | See example in Section Python of the Mosel Language Reference Manual |
r.rws | Data exchange in memory with the R workspace | See example in Section R of the Mosel Language Reference Manual |
zlib.deflate | Handles files compressed using the zlib compression format | |
zlib.gzip | Handles files compressed using the gzip compression format | Implementation discussed in Section Example: compression |
zlib.zip | Access a file stored in a zip archive (read only) |
I/O drivers defined by the Mosel library interfaces:
Driver | Description | Notes |
---|---|---|
mmdotnet.dotnet | Use a C# stream or object in place of a file | See example in Section .NET version of the example |
mmdotnet.dotnetraw | Data exchange between a Mosel model and a C# application | C# version of raw; see example in Section .NET version of the example |
mmjava.java | Use a Java stream or a ByteBuffer in place of a file | See examples in Sections Java version of the example and Java version of the example |
mmjava.jraw | Data exchange via shared memory between a Mosel model and a Java application | Java version of raw; see example in Section Java version of the example |
© 2001-2019 Fair Isaac Corporation. All rights reserved. This documentation is the property of Fair Isaac Corporation (“FICO”). Receipt or possession of this documentation does not convey rights to disclose, reproduce, make derivative works, use, or allow others to use it except solely for internal evaluation purposes to determine whether to purchase a license to the software described in this documentation, or as otherwise set forth in a written software license agreement between you and FICO (or a FICO affiliate). Use of this documentation and the software described in it must conform strictly to the foregoing permitted uses, and no other use is permitted.