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

 Accepted Answer

Sachin Aher
Sachin Aher on 16 Aug 2017
1. Remove all EnterpriseToolset Path 2. Restart MATLAB 3. Before adding Toolset Enter sl_refresh_customizations command 4. Then load project and generate code

More Answers (0)

Categories

Find more on Simulink Coder in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!