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

6 ビュー (過去 30 日間)
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?

採用された回答

MathWorks Support Team
MathWorks Support Team 2009 年 6 月 27 日
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).

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeSimulink Coder についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by