How to enable floating point number and non-finite number support?

6 ビュー (過去 30 日間)
Vit Valek
Vit Valek 2018 年 6 月 29 日
コメント済み: Vit Valek 2018 年 7 月 9 日
Hi,
I created C MEX S-Function (based on timestwo.c) and generated .mexw64 file. I call this function from S-Function block in Simulink. I want to generate C code (C/C++ Code -> Build Model) but some error occurs (Error: To support noninlined S-Functions, both floating point number and non-finite number support must be enabled.)
Please, how can I fix this issue?
Thanks,
Vit
  2 件のコメント
Krishna Bindumadhavan
Krishna Bindumadhavan 2018 年 7 月 9 日
Hi, please take a look at:
1. https://www.mathworks.com/help/rtw/ref/support-non-finite-numbers.html?searchHighlight=non-finite%20numbers&s_tid=doc_srchtitle
2. https://www.mathworks.com/help/rtw/ref/support-floating-point-numbers.html?searchHighlight=non-finite%20numbers&s_tid=doc_srchtitle
For more details and how to enable/disable the said options.
Vit Valek
Vit Valek 2018 年 7 月 9 日
Thank you very much!

サインインしてコメントする。

回答 (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