필터 지우기
필터 지우기

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 CenterFile Exchange에서 Simulink Coder에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!

Translated by