Template Function amici::writeMatlabField0

Function Documentation

template<typename T>
void amici::writeMatlabField0(mxArray *matlabStruct, const char *fieldName, T fieldData)

initialize vector and attach to the field

Parameters
  • matlabStruct: pointer of the field to which the vector will be attached

  • fieldName: Name of the field to which the vector will be attached

  • fieldData: Data which will be stored in the field