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 Kommentar

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

Antworten (0)

Diese Frage ist geschlossen.

Gefragt:

am 18 Jun. 2012

Geschlossen:

am 20 Aug. 2021

Community Treasure Hunt

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

Start Hunting!

Translated by