what is local and global variable?and difference ?

hi my self deepak i am start working on matlab s/w engineer so please answer my question i need yours support

 Respuesta aceptada

Azzi Abdelmalek
Azzi Abdelmalek el 18 de Oct. de 2012

2 votos

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

Categorías

Más información sobre MATLAB en Centro de ayuda y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by