title: Variable in matlab workspace that can be used from every function without passing it as an argument
body: <p>i am running an optimization in MATLAB with optimtool.</p>
  
  <p>i have defined a function "Find(x)" that takes only the variable x as argument.</p>
  
  <p>Inside my function i call another function that gives me a matrix of 3D points. I call this matrix p and its size is 200 x 3.</p>
  
  <p>I want to avoid the same calculation of p every time since it doesn't change when the optimization tool runs the function.</p>
  
  <p>How can i make the calculation of p once in my workspace and my function use this p without calculating it?</p>
  
  <p>Thanks. </p>