That is, you cannot call a function or script that assigns values to variables unless those variables already exist in the ...
www.mathworks.com