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

6 views (last 30 days)
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?

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 27 Jun 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).

More Answers (0)

Categories

Find more on Simulink Coder in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!