View externally-scoped variables in Workspace browser
2 次查看(过去 30 天)
显示 更早的评论
If execution is suspended in a nested function because of an inserted breakpoint, the Workspace browser only shows local variables even though variables defined in outer (nesting) functions have external scope. Is there any way to display those externally-scoped variables in the browser? If not, this might be something to consider for a future release.
0 个评论
采纳的回答
Drew Davis
2015-6-11
There is an option 'Function Call Stack' in the toolstrip of the MATLAB editor when in debug mode. Change this drop down option the workspace you would like to view.
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Workspace Variables and MAT-Files 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!