error when generating protected model with code generation
이전 댓글 표시
The code interface packaging option 'C++ class' cannot be selected for referenced model 'modelName' because it cannot combine its output and update functions. Some possible reasons for this restriction are
* The model has a continuous sample time.
* The model is saving states.
댓글 수: 1
Luca Ferro
2023년 3월 2일
편집: Luca Ferro
2023년 3월 2일
could you share both the commands you are using to protect the file and the error log?
답변 (1개)
Jasvin
2023년 3월 6일
0 개 추천
This MATLAB Answer highlights in detail what the issue can be.
It looks like the continous sample time is the source of your error.
카테고리
도움말 센터 및 File Exchange에서 Simulink Coder에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!