Effacer les filtres
Effacer les filtres

Calling Variables

1 vue (au cours des 30 derniers jours)
skyimager
skyimager le 3 Juin 2012
I am defining variable 's' in one function of my gui. Now i want to use "s" in another function of my same gui. How can i do that?
  2 commentaires
Walter Roberson
Walter Roberson le 3 Juin 2012
Is your question about fprintf() the same question as this one?
http://www.mathworks.com/matlabcentral/answers/40166-problem-with-fprintf
skyimager
skyimager le 3 Juin 2012
No sir. That problem is different. This problem is solved. By declaring the variable as global in BOTH the functions i can use it.
But the problem with fprintf still remains.

Connectez-vous pour commenter.

Réponses (1)

Walter Roberson
Walter Roberson le 3 Juin 2012

Catégories

En savoir plus sur Get Started with MATLAB 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