Compilation error with non-inline S-Function,
이전 댓글 표시
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.

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개)
카테고리
도움말 센터 및 File Exchange에서 Block and Blockset Authoring에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!