TinyMAT
a library to write Matlab MAT-files
Loading...
Searching...
No Matches
TinyMATWriter-Support for Qt Datatypes
Collaboration diagram for TinyMATWriter-Support for Qt Datatypes:

Functions

TINYMAT_EXPORT void TinyMATWriter_writeQStringList (TinyMATWriterFile *mat, const char *name, const QStringList &data)
 write a 1-dimensional QStringList into a MAT-file as a cell array
 
TINYMAT_EXPORT void TinyMATWriter_writeQVariantList (TinyMATWriterFile *mat, const char *name, const QVariantList &data)
 write a 1-dimensional QVariantList into a MAT-file as a cell array
 
TINYMAT_EXPORT void TinyMATWriter_writeQVariantMap (TinyMATWriterFile *mat, const char *name, const QVariantMap &data)
 write a QVariantMap into a MAT-file as a struct
 
TINYMAT_EXPORT void TinyMATWriter_writeQVariantMatrix_listofcols (TinyMATWriterFile *mat, const char *name, const QList< QList< QVariant > > &data)
 write a 1-dimensional QVariantList (as a list of columns) into a MAT-file as a cell array
 

Detailed Description

Functions in this group allow to directly store Qt-datatypes into MAT-files.

Function Documentation

◆ TinyMATWriter_writeQStringList()

TINYMAT_EXPORT void TinyMATWriter_writeQStringList ( TinyMATWriterFile *  mat,
const char *  name,
const QStringList &  data 
)

write a 1-dimensional QStringList into a MAT-file as a cell array

Parameters
matthe MAT-file to write into
namevariable name for the new array
datathe array to write

◆ TinyMATWriter_writeQVariantList()

TINYMAT_EXPORT void TinyMATWriter_writeQVariantList ( TinyMATWriterFile *  mat,
const char *  name,
const QVariantList &  data 
)

write a 1-dimensional QVariantList into a MAT-file as a cell array

Parameters
matthe MAT-file to write into
namevariable name for the new array
datathe array to write

◆ TinyMATWriter_writeQVariantMap()

TINYMAT_EXPORT void TinyMATWriter_writeQVariantMap ( TinyMATWriterFile *  mat,
const char *  name,
const QVariantMap &  data 
)

write a QVariantMap into a MAT-file as a struct

Parameters
matthe MAT-file to write into
namevariable name for the new array
datathe map to write

◆ TinyMATWriter_writeQVariantMatrix_listofcols()

TINYMAT_EXPORT void TinyMATWriter_writeQVariantMatrix_listofcols ( TinyMATWriterFile *  mat,
const char *  name,
const QList< QList< QVariant > > &  data 
)

write a 1-dimensional QVariantList (as a list of columns) into a MAT-file as a cell array

Parameters
matthe MAT-file to write into
namevariable name for the new array
datathe array to write