what is local and global variable?and difference ?
49 次查看(过去 30 天)
显示 更早的评论
hi my self deepak i am start working on matlab s/w engineer so please answer my question i need yours support
0 个评论
采纳的回答
Azzi Abdelmalek
2012-10-18
each function has it's own local variables, these functions communicate through inputs and output arguments. If we want certains variables to be seen by all the functions, we set them to globals http://www.mathworks.com/help/matlab/ref/global.html
0 个评论
更多回答(1 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Startup and Shutdown 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!