what is local and global variable?and difference ?

조회 수: 17 (최근 30일)
deepak
deepak 2012년 10월 18일
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에서 MATLAB에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by