title: Matlab script for reading a text file is not compatible with Octave
body: <p>To import data from a text file I use a script in MATLAB. I want to run the same script in Octave but then I get an error. </p>
  
  <p>An extract of the text file that I want to read looks as follows:</p>
  
  <pre><code>Rotation angle  Measured distance
  -0,342  0,000
  -1,440  0,000
  -10,422 0,000
  -11,574 0,000
  -21,060 0,000
  -21,528 0,000
  -30,402 0,000
  </code></pre>
  
  <p>The following code is reading the text file:</p>
  
  <pre><code>filename = 'C:\Users\marci\Desktop\Stackoverflow\S4P1_Logfile_160419_1345.txt';   
  delimiter = '\t';
  startRow = 3;
  formatSpec = '%s%s%[^\n\r]';
  fileID = fopen(filename,'r');
  dataArray = textscan(fileID, formatSpec, 'Delimiter', delimiter, 'TextType', 'string', 'HeaderLines' ,startRow-1, 'ReturnOnError', false, 'EndOfLine', '\r\n');
  fclose(fileID);
  </code></pre>
  
  <p>That is the error message that I get in Octave.</p>
  
  <pre><code>error: textscan: unrecognized option 'texttype'
  error: called from
      test at line 35 column 11
  </code></pre>
  
  <p>Does anyone know how to fix this error?</p>