主要内容

代码栈使用探查

R2026b
查看和分析代码节的栈使用探查

使用栈使用探查可以:

  • 确定目标硬件的栈内存需求。

  • 观察编译器优化和数据输入对栈使用的影响。

您可以配置软件在环 (SIL) 或处理器在环 (PIL) 仿真,为生成的代码生成栈使用度量。使用代码探查分析器、代码栈探查报告或仿真数据检查器来分析栈使用度量。

对象

全部展开

coder.profile.ExecutionStackSetAggregate stack usage profiling results from multiple SIL, PIL, or external mode simulations (自 R2023b 起)
coder.profile.test.TestHookDefine custom callback functions for coder.profile.test.runTests (自 R2025a 起)

函数

全部展开

addAggregate stack usage profiles (自 R2023b 起)
addDetailsAdd text items to Code Profile Analyzer display or code profiling report (自 R2025a 起)
getExtract specific stack usage profile from aggregate of profiles (自 R2023b 起)
removeRemove stack usage profile from aggregate of profiles (自 R2023b 起)
coder.profile.test.runTestsAutomate execution-time or stack usage analysis of code generated from Simulink models or MATLAB functions (自 R2024a 起)

主题