Changing application stack size
To change the application stack size, perform the following steps:
From the Simulink model window for your application model, select the
Simulationmenu, then clickModel Configuration Parameters...On earlier versions of Matlab, this will be
Simulation -> Configuration Parameters...
Under the
Code Generationtab on the left, selectOpenECU code generation...On earlier versions of Matlab, this will be under the
Real-Time Workshoptab on the left
Change the stack size by entering a new number in the
System stack sizeedit box, as shown below in the red circle.