MATLAB Answers

Why the Simulink s-function builder generated c file (wrapper.c) is removed after build (code generation)?

4 ビュー (過去 30 日間)
Bokai Chen
Bokai Chen 2020 年 1 月 2 日
回答済み: Urmila Rajpurohith 2020 年 1 月 7 日
I used the S-Function builder to create a s-function with mex64, tlc, and _wrapper.c files. However, after build (code generation with Ctrl+B), the _wrapper.c file is always removed. What are the potential reasons and how should I fix it? Thanks for help!

  0 件のコメント

サインイン to comment.


Urmila Rajpurohith
Urmila Rajpurohith 2020 年 1 月 7 日
In order to the S-function block to know where to look for the _wrapper.c, you need to explicitly tell it in the S-function modules field of the “S-function block.
You can refer to below documentation link to know more information about the “S-function modules field”

  0 件のコメント

サインイン to comment.

その他の回答 (0 件)

サインイン してこの質問に回答します。





Translated by