#CAPTION#
setResultFile
-------------

Set the result file of the simulation.
#END#

#LUA#
.. code-block:: lua

  status = oms_setResultFile(cref, filename)
  status = oms_setResultFile(cref, filename, bufferSize)

#END#

#PYTHON#
.. code-block:: python

  status = oms.setResultFile(cref, filename)
  status = oms.setResultFile(cref, filename, bufferSize)

#END#

#CAPI#
.. code-block:: c

  oms_status_enu_t oms_setResultFile(const char* cref, const char* filename, int bufferSize);

#END#

#OMC#
.. code-block:: modelica

  status := oms_setResultFile(cref, filename);
  status := oms_setResultFile(cref, filename, bufferSize);

#END#

#DESCRIPTION#
The creation of a result file is omitted if the filename is an empty string.
#END#
