MATLAB Answers

paddu
0

Compilation error with non-inline S-Function,

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 件のコメント

サインイン to comment.

0 件の回答


Translated by