title: Octave error : no such file
body: <p>I'm running Octave 4.0.1 on windows 7 and I'm having this weird issue.</p>
  
  <p>I created a functioning script which is saved under C:/User/Documents/Octave. This script also reads some files in a subfolder of this same location.
  The problem is : my script correctly runs TWICE then I have the error "no such file" saying the software did not find my script (the same one I just ran). The only "solution" I have is restarting the whole software but then it still goes nuts on the third run.</p>
  
  <p>In addition to that, my coworker tried it on an ubuntu machine and it seemed to work fine. Do somebody see an explanation?
  Thanks</p>
  
  <p>Here is the script :</p>
  
  <pre><code>data = [];
  figure();
  for i=1:200
    filename = strcat('C:/Users/Utilisateur/Documents/Octave/data/DAQ_data_decoded_', num2str(1800+i))
    d=lvm_import(filename);
    data=[data d.Segment1.data(:,2)];
  end;
  
  data=reshape(data,6600,1);
  hist(data);
  </code></pre>
  
  <p>The function lvm_import is a function I found on the web to extract data from a Labview data file. (d.Segment1.data(:,2) is a 33x1 array)</p>
  
  <p>And the error message :</p>
  
  <pre><code>&gt;&gt; daqDataHist
  error: no such file, 'C:\Users\Utilisateur\Documents\Octave\daqDataHist.m'
  </code></pre>