title: Call value of a variable in one m file into another m file
body: <p>I have an m-file named motor_model.m. I have another m-file named controller.m where I am calling motor_model.m in the first line. Now the output of motor_model.m is the steady state current, which is stored in a variable named I_steadystate whose value needs to be called in controller.m. </p>
  
  <p>Could you give me the code as to how I can do this? </p>