Use of variables in a new function

I already have some variables calculated in Matlab. I am going to run a function in which a couple of those variables are used. When I run my function, I get the error of undefined variables. How can I use those variables in my new function?
Thanks,

1 commentaire

Jalali
Jalali le 18 Juin 2012
I don't want to include calculation steps for those variables in my function, that's why I am going this way.

Réponses (0)

Cette question est clôturée.

Question posée :

le 18 Juin 2012

Clôturé :

le 20 Août 2021

Community Treasure Hunt

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

Start Hunting!

Translated by