I did something error if I used the same variable name in many functions?
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
hamed abdulaziz
am 20 Mär. 2014
Kommentiert: hamed abdulaziz
am 20 Mär. 2014
Hi All,
I have four functions and I called them one after one, did I do something error if I used the same variable name in these four functions? What MATLAB community suggest?
0 Kommentare
Akzeptierte Antwort
Dishant Arora
am 20 Mär. 2014
They will be local to the function they are defined in. All the functions have a different workspace, so it won't create any conflicts as long as you are comfortable with it.
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Image Processing Toolbox finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!