"the scope of variable spans multiple functions matlab"
Show older comments
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 Comment
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:
Accepted Answer
More Answers (0)
Categories
Find more on Debugging and Analysis in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!