"the scope of variable spans multiple functions matlab"
显示 更早的评论
Can somebody tell me what is this message in "blue" variable "the scope of variable spans multiple functions matlab" ??
is it a nested function??
i have this code in attached image
1 个评论
Those variables are used in nested functions. Nested functions are an intuitive and convenient way to simplify passing data between workspaces. Note that powutil4's alignment is misleading: the default MATLAB code alignment indents nested functions, which makes it clear which functions in a file are nested and which are local:
采纳的回答
更多回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Startup and Shutdown 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!