MATLAB: Is it possible to get a worst case stack size with polyspace

embeddedstacksize

Hello everybody,
i would like to know a worst case value of stack usage for my embedded application. Is this information somehow avaliable with polyspace?
thanks
Olaf

Best Answer

From R2016b onwards, you can see the size of local variables in each function. You can estimate the stack usage by adding those sizes over your call hierarchy.