How can I use variable of one M-file into other M-file ?
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
Can i access variable of different M-file into my M-file ? Or How can I use variable of 1 M-file into other M-file ?
0 Kommentare
Antworten (2)
Chandrasekhar
am 3 Apr. 2014
you can make functions and pass as arguments or u can declare them as global.
0 Kommentare
Andreas Goser
am 3 Apr. 2014
Bearbeitet: Andreas Goser
am 3 Apr. 2014
When using scripts, your "M files" use one workspace and you can access all variables.
0 Kommentare
Siehe auch
Kategorien
Mehr zu Workspace Variables and MAT-Files 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!