In what library is the "rtInf" variable located under Real-Time Workshop?

6 visualizaciones (últimos 30 días)
I am devising a custom-wrapper for which I am manually registering the code generated by Real-Time Workshop. This will allow another application to control the execution of my model. Toward that end, in what library is the “rtInf” variable found under Real-Time Workshop?

Respuesta aceptada

MathWorks Support Team
MathWorks Support Team el 27 de Jun. de 2009
We have verified that the Real-Time Workshop documentation does not identify the location of the "rtInf" variable.
Depending on the version of Real-Time Workshop you are using, you can find the “rtInf” variable in the following files.
  • If you are using Real-Time Workshop 5.0 (R13) or Real-Time Workshop 5.1 (R13SP1), see rt_nonfinite.h and rt_nonfinite.c in $MATLAB/rtw/c/src
(where $MATLAB is the root directory of your MATLAB installation).
  • If you are using Real-Time Workshop 6.0 (R14) or later, see rt_nonfinite.h, rt_nonfinite.c in the project directory (model_grt_rtw).

Más respuestas (0)

Categorías

Más información sobre Simulink Coder en Help Center y File Exchange.

Productos

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by