フィルターのクリア

Building Simulink model in C vs C++

3 ビュー (過去 30 日間)
iba
iba 2019 年 5 月 15 日
コメント済み: Shivam Sardana 2019 年 5 月 23 日
Hi,
I have an S-function in my Simulink model in which I have used the S-function builder to generate the tlc and wrapper etc. However, when I use C++ as the language the model does not build, whereas with C it does. Why is that? I need header files which are in C++ so would like to have it all in C++.
Thanks in advance!
Ina
  1 件のコメント
Shivam Sardana
Shivam Sardana 2019 年 5 月 23 日
“When I use C++ as the language”, by this do you mean that you have set C++ as the language in S- function builder or you are using C++ code.
If you are using C++ codes, then you must set language as C++ by clicking on S-Function Builder block and set Language to C++.

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

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