How can I use variable of one M-file into other M-file ?
Afficher commentaires plus anciens
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 ?
Réponses (2)
Chandrasekhar
le 3 Avr 2014
0 votes
you can make functions and pass as arguments or u can declare them as global.
Andreas Goser
le 3 Avr 2014
Modifié(e) : Andreas Goser
le 3 Avr 2014
0 votes
When using scripts, your "M files" use one workspace and you can access all variables.
Catégories
En savoir plus sur Workspace Variables and MAT Files dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!