Use
array_ptr = engGetVariable(ep, var_name);
instead of
array_ptr = engGetMatrix(ep, var_name);
See Also
engGetVariable, engPutVariable, and examples in the eng_mat subdirectory of the examples directory
engGetVariable
engPutVariable
eng_mat
examples
© 1994-2005 The MathWorks, Inc.