Compilation error with non-inline S-Function,

13 ビュー (過去 30 日間)
paddu
paddu 2019 年 6 月 3 日
Hi,
With regards to adding S-Function block in CPU, I tried to check the checkbox of non-inline
S-Function in configuration parameter window of CPU model.
S-Functions.jpg
But when compiling CPU got an error saying
Error: #5: cannot open source input file "tmwtypes.h".
So I tried to add the include path "..../MATLAB/R2018b/externinclude" in the makefile
and then got a new error saying "simstruc.h: No such file or directory "
but after adding the path of simstruc.h file, I am getting below error saying "Unrecognized use"
"simulink/include/simstruc_compcond.h", line 244: Error: #35: #error directive: Unrecognized use. #error Unrecognized use."
Please let me know what could be the necessary settings when using non-inline S-Function.
Thank you

回答 (0 件)

カテゴリ

Help Center および File ExchangeBlock and Blockset Authoring についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by