S Function code generation issue
이전 댓글 표시
I have a sfunction in the model which is referenced in a parent model.When I am trying to build the code(Ctrl+B), I am getting an error : "This is not allowed in a model configured to be referenced multiple times.To enable code reuse, the block must have a TLC implementation and the S-function's mdlInitializeSizes function must set the option 'SS_OPTION_WORKS_WITH_CODE_REUSE'. To configure the model to be referenced only once, change the configuration parameter 'Total number of instances allowed per top model' to 'One'." I changed the setting to One instead of Multiple in model referencing tab of Configuration part still the problem persists.
답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Simulink PLC Coder에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!