Protecting model with binary code generation fails
조회 수: 2 (최근 30일)
이전 댓글 표시
Hi,
I am trying to protect a model allowing the code generation as binaries. If I Disable "Portable word sizes" option and Disable also "Test Hardware ins the same as proudction hardware" it generated the protected model. However, If I enable both options the process fails. I see the following in the Diagnostic windows:
### Starting serial model reference code generation build
### Checking the status of model reference code generation target for model 'SimpleModel'
### Model reference code generation target (SimpleModel.c) for model SimpleModel may be out of date. The model or library 'SimpleModel' has changed.
RTW: makertw script: Starting ERT_FWK code generation
RTW: makertw script: Code generation arguments: <none>
### Generating code and artifacts to 'Model specific' folder structure
### Code for the model reference code generation target for model SimpleModel is up to date because no functional changes were found in the referenced model.
### Model reference code generation target for SimpleModel is up to date.
Unable to read file 'C:\Users\XXX\AppData\Local\Temp\tp381f1750_06c0_43c8_89ad_8567e01d7589\slprj\ert\SimpleModel\sil\hostobj\buildInfo.mat'. No such file or directory.
And the protected model is not generated. But there is no error message about why builinfo.mat is not being generated.
Thanks in advance.
댓글 수: 0
답변 (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!