Protecting model with binary code generation fails
2 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
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 Commenti
Risposte (0)
Vedere anche
Categorie
Scopri di più su Model Protection in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!