Code Generation Error from simulink

Hello, I am getting below error while generating code from Simulink. Used Version is 2016b
*******************************************************************************************************
### Starting build procedure for model: PedlDirDetrmn ### Build procedure for model: 'PedlDirDetrmn' aborted due to an error. The call to JD_autosar_make_rtw_hook, during the entry hook generated the following error: Cannot reserve Identifier as Code Generation has started. Use requestIdentifier to request for an identifier during Code Generation
The build process will terminate as a result. Caused by: Cannot reserve Identifier as Code Generation has started. Use requestIdentifier to request for an identifier during Code Generation
*******************************************************************************************************
Let me know if you have any lead on this!!
Thanks

 採用された回答

Sachin Aher
Sachin Aher 2017 年 8 月 16 日

1 投票

1. Remove all EnterpriseToolset Path 2. Restart MATLAB 3. Before adding Toolset Enter sl_refresh_customizations command 4. Then load project and generate code

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeSimulink Coder についてさらに検索

質問済み:

2017 年 6 月 23 日

回答済み:

2017 年 8 月 16 日

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by