I have a large Simulink model and I am using Rapid Accelerator mode to improvement simulation performance. The model runs fine in Accelerator mode, however, when the model builds for Rapid Accelerator mode, a compiler stack overflow error is thrown by the compiler.
ERROR: The error message indicates as follows: 'fatal error C1063: compiler limit: compiler stack overflow'
Best Answer
The error message is due to a limitation with the Microsoft compiler running out of stack. For more information about the Microsoft compiler error C1063, please refer to following online documentation:
- Open a command prompt as administrator mode from the following path:
Start > Microsoft Windows SDK 7.1 -> Open 'Windows SDK 7.1 Command Prompt'- In the command prompt, navigate to the path of the compiler used in Simulink:
>> cd C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\bin- Execute the following command to set the increase stack size:
>> editbin /STACK:10000000 cl.exe