User`s guide

profile
Report Entry
Units Descrip tion
endAddress
Decimal address and
page
Liststheaddressofthe
end of the stack and
the memory page.
stackSize
Addresses Reports number of
address locations, in
MAUs, allocated for
the stack.
growthDirection
Not applicable Reports whether the
stack grows from
the low er address to
the higher address
(
ascending)orfrom
higher to lower
(
descending).
To use profile to assess how your program uses the stack, complete
the f ol lowing tasks with a Simu li n k model or manual ly writte n code:
1 Build your model with real-time executio n proling enabled in the
conguration parameters. Skip this step for custom code.
2 Download your program to the processor.
3 Run the program on the processor.
4 Stop the running program.
5 Use profile at the MATLAB command prompt to access the proling
reports.
For more information about using stack proling, refer to “System
Stack Proling” on page 4-19.
7-108