How can I use variable of one M-file into other M-file ?
Mostrar comentarios más antiguos
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 ?
Respuestas (2)
Chandrasekhar
el 3 de Abr. de 2014
0 votos
you can make functions and pass as arguments or u can declare them as global.
Andreas Goser
el 3 de Abr. de 2014
Editada: Andreas Goser
el 3 de Abr. de 2014
0 votos
When using scripts, your "M files" use one workspace and you can access all variables.
Categorías
Más información sobre Workspace Variables and MAT Files en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!