Current Available Stack Size returns free stack available
Simulink Real-Time / Target Management / Execution Parameters
This block outputs the number of bytes of stack memory currently available to the real-time application thread.
Sample Time— Sample time of block
Enter the base sample time or a multiple of the base sample time.
-1 means that sample time is inherited.