Function amici::initAndAttachArray¶
Defined in File returndata_matlab.h
Function Documentation¶
-
double *
amici
::
initAndAttachArray
(mxArray *matlabStruct, const char *fieldName, std::vector<mwSize> dim)¶ initializes the field fieldName in matlabStruct with dimension dim
- Return
pointer to field data
- Parameters
matlabStruct
: Pointer to the matlab structurefieldName
: Name of the field to which the tensor will be attacheddim
: vector of field dimensions