Simulink® Blockset for Buffered File-I/O Streaming

The problem with Simulink®'s file i/o blocks is that they read all source signal data from file to RAM when the model initialises, store all sink signal data to RAM while simulating, and only write to file when the simulation terminates.

So whenever you have to pass large amounts of signal data to a Simulink® model, e.g. from logging, or want to write many signals during a long simulation to file, this can break your system the moment the accumulated signal data exceeds available physical RAM. Then operating systems start swapping parts of the virtual RAM to files or swap partitions, and everything becomes slow motion. And often Simulink® breaks, even with SSD drives.

To avoid such problems, the LIIO Simulink® i/o-blocks buffer only short sequences of signal data in RAM, and frequently read/write from or to file. Like that any size of signal data can be handled, as long as it fits onto the hard drive. Additionally signal data can be stored for change events only, as some signals change their values only occasionally.

A dedicated file format (.liio) has been defined to serve these purposes, that is capable of signal streaming as well as of storing time stamped data. Respective Matlab®-functions to convert from and to Matlab® data are also part of the package.

The package is currently available for 64-Bit Windows platforms (.mexw64) and has been tested on Windows 7 with R2010b and on Windows 10 with R2010b through R2019a. Also available is the 64-Bit Linux version (.mexa64) tested on SLED 12 SP4 with R2010b.


Function References
Block References
Common Function References

Request a Trial License

A trial license can be requested for a limited time, currently 3 months. The Matlab license number is required, because the LIIO license is bound to it. However, the only thing you need to provide right here mandatorily is the email address, so we can contact you. No personal data provided will be handed to third party.

Matlab License
Matlab Platform

* fields are required.