Transfering results form one function to another one

1 vue (au cours des 30 derniers jours)
Zeynep Naz Kocabas
Zeynep Naz Kocabas le 2 Déc 2019
Hi,
I am beginner with Matlab my question is how i can take values from one function to another one?
  2 commentaires
jannat alsaidi
jannat alsaidi le 2 Déc 2019
Modifié(e) : jannat alsaidi le 2 Déc 2019
If I understand you question correctly, you can put the values in a new variables then use them, can you show me an example to give you an accurate answer
Zeynep Naz Kocabas
Zeynep Naz Kocabas le 2 Jan 2020
Thank you for your answer but I have learned how to do that.

Connectez-vous pour commenter.

Réponse acceptée

KALYAN ACHARJYA
KALYAN ACHARJYA le 2 Déc 2019
Modifié(e) : KALYAN ACHARJYA le 2 Déc 2019
"how i can take values from one function to another one?"
Its nesting of function, just call the 1st function to the 2nd function, where output arguments require.
function fun2...
..call fun1 with proper input arguments
end
Now call the 2nd fun to the main script
Hope it helps!
  4 commentaires
Zeynep Naz Kocabas
Zeynep Naz Kocabas le 2 Déc 2019
Okay, i did it thank you very much.
KALYAN ACHARJYA
KALYAN ACHARJYA le 2 Déc 2019
It's my pleasure :)

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Logical dans Help Center et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by