mksqlite  2.5
A MATLAB interface to SQLite
Functions
serialize.hpp File Reference

MATLAB hidden (officially undocumented) feature of serializing data. More...

#include "utils.hpp"
#include "value.hpp"
+ Include dependency graph for serialize.hpp:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

bool have_serialize ()
 Returns true, if current MATLAB version supports serialization.
 
bool can_serialize ()
 Returns true, if streaming is switched on (user setting) and serialization is accessible.
 
bool serialize (const mxArray *pItem, mxArray *&pByteStream)
 Converts MATLAB variable of any complexity into byte stream.
 
bool deserialize (const mxArray *pByteStream, mxArray *&pItem)
 Converts byte stream back into originally MATLAB variable.
 

Detailed Description

MATLAB hidden (officially undocumented) feature of serializing data.

MATLAB arrays can be serialized into a byte stream for "streaming". With this feature any variable type can be stored as BLOB into a SQL database.

See also
http://undocumentedmatlab.com/blog/serializing-deserializing-matlab-data
Authors
Martin Kortmann mail@.nosp@m.kort.nosp@m.mann..nosp@m.de, Andreas Martin andim.nosp@m.arti.nosp@m.n@use.nosp@m.rs.s.nosp@m.ource.nosp@m.forg.nosp@m.e.net
Version
2.5
Date
2008-2017
Precondition
Warning
Bug:

Definition in file serialize.hpp.