#CAPTION# addSignalsToResults ——————-

[deprecated: setSignalFilter is the recommended API]

Add all variables that match the given regex to the result file. #END#

#LUA# .. code-block:: lua

status = oms_addSignalsToResults(cref, regex)

#END#

#PYTHON# .. code-block:: python

status = oms.addSignalsToResults(cref, regex)

#END#

#CAPI# .. code-block:: c

oms_status_enu_t oms_addSignalsToResults(const char* cref, const char* regex);

#END#

#OMC# .. code-block:: Modelica

status := oms_addSignalsToResults(cref, regex);

#END#

#DESCRIPTION# The second argument, i.e. regex, is considered as a regular expression (C++11). “.*” and “(.)*” can be used to hit all variables. #END#