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

采纳的回答

Azzi Abdelmalek
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

更多回答(1 个)

Sachin Ganjare
Sachin Ganjare 2012-10-18

类别

Help CenterFile Exchange 中查找有关 Startup and Shutdown 的更多信息

标签

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by