Info
This question is closed. Reopen it to edit or answer.
Having problems with functions
2 views (last 30 days)
Show older comments
I've built a function, which I'm giving three values x, y and a. however when I run it I get the following error:
??? Reference to a cleared variable a.
Error in ==> parallel_inverse at 68
a = a * pi/180;
This is my function start:
function parallel_inverse(x, y, a)
Does anyone know why I'm getting this error?
Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!