error when generating protected model with code generation
조회 수: 16 (최근 30일)
이전 댓글 표시
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일
This MATLAB Answer highlights in detail what the issue can be.
It looks like the continous sample time is the source of your error.
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Model Protection에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!