what is local and global variable?and difference ?

56 Ansichten (letzte 30 Tage)
deepak
deepak am 18 Okt. 2012
hi my self deepak i am start working on matlab s/w engineer so please answer my question i need yours support

Akzeptierte Antwort

Azzi Abdelmalek
Azzi Abdelmalek am 18 Okt. 2012
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

Weitere Antworten (1)

Sachin Ganjare
Sachin Ganjare am 18 Okt. 2012

Kategorien

Mehr zu Startup and Shutdown finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by