How call a variable from function to main body?
Afficher commentaires plus anciens
I Want to use variable which is defined in function. So what command i can use to call this variable in main body? Because it showing me as undefined variable in main body execution.
Réponses (1)
madhan ravi
le 22 Déc 2018
Modifié(e) : madhan ravi
le 22 Déc 2018
0 votes
The best idea is to make the function with output with the variable that you want to use in the main body.
Catégories
En savoir plus sur Computational Fluid Dynamics (CFD) dans Centre d'aide et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!