Template Function amici::writeMatlabField1¶
Defined in File returndata_matlab.h
Function Documentation¶
-
template<typename
T
>
voidamici
::
writeMatlabField1
(mxArray *matlabStruct, const char *fieldName, gsl::span<const T> const &fieldData, const int dim0)¶ initialize vector and attach to the field
- Parameters
matlabStruct
: pointer of the field to which the vector will be attachedfieldName
: Name of the field to which the vector will be attachedfieldData
: Data which will be stored in the fielddim0
: Number of elements in the vector