Clear Filters
Clear Filters

Info

This question is closed. Reopen it to edit or answer.

Use of variables in a new function

1 view (last 30 days)
Jalali
Jalali on 18 Jun 2012
Closed: MATLAB Answer Bot on 20 Aug 2021
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 Comment
Jalali
Jalali on 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.

Answers (0)

This question is closed.

Community Treasure Hunt

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

Start Hunting!