title: Loading another m-file to the workplace is not working
body: <p>I want to load a particular m-file called myfile.m to my workplace.This matlab file contains several arrays which I need to load into my workspace.</p>
  
  <p>--------------------------myfile.m----------------------------------</p>
  
  <pre><code>r_red=[218,2,1,12,238,106,246,14,26,77,244];
  r_green=[65,61,37,247,151,217,229,235,218,2,1];
  r_blue =[14,26,77,244,164,131,119,9,222,80,61,228];
  </code></pre>
  
  <hr>
  
  <p>In my work space I tried to run this code and some other supporting codes by using these arrays.The code I used is as follows.</p>
  
  <pre><code>addpath('D:\mydocs'); % This is the place where myfile.m is located.
  load myfile.m;
  </code></pre>
  
  <p>When I run this I got the following error.
  <strong>Error using load
  Unknown text on line number 2 of ASCII file D:\mydocs\keyfile.m
  "r_red=[218".</strong></p>
  
  <p>Any comments given with this regards is highly appreciated.
  Thank you.</p>