what is local and global variable?and difference ?

14 ビュー (過去 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 Center および File ExchangeMATLAB についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by