Protecting model with binary code generation fails
3 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
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 commentaires
Réponses (0)
Voir également
Catégories
En savoir plus sur Model Protection dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!