Protecting model with binary code generation fails
6 次查看(过去 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!