Is there anyway I can extract variables from another matlab script?

1 vue (au cours des 30 derniers jours)
Nancy
Nancy le 18 Nov 2014
Commenté : Nancy le 18 Nov 2014
I want to run two separate Matlab windows that run a code and then have a third matlab window use variables from the other two. is there anyway to do that?
I tried using a global variable but I am having trouble making a global variable. For example how do i make the matrix x a global variable. do i do setGlobalx(x)? Also how would i retrieve the global variable from the third matlab window
Sorry I have no code to show every time I try running that it doesn't work. I don't even know if this is possible

Réponse acceptée

per isakson
per isakson le 18 Nov 2014
Modifié(e) : per isakson le 18 Nov 2014

Plus de réponses (0)

Catégories

En savoir plus sur Text Data Preparation dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by