title: Requesting input from the user in Octave
body: <p>I need to get input for my program in Octave from the user. When I include the input command and continue writing the script, after running the script, the lines following the input command in the script are taken as the input. Is it possible for the script to wait at the input command till the user gives an input and then continue with the script?</p>
  
  <p>For e.g. consider this part of my script:</p>
  
  <pre><code>n=input('Give the number of nodes')
  names=char('Paul', 'Jane', 'Sam', 'Chris')
  </code></pre>
  
  <p>When I execute these statements, this is what the command window shows:</p>
  
  <pre><code>&gt;&gt; n=input('Give the number of nodes')
  
  Give the number of nodesnames=char('Paul', 'Jane', 'Sam', 'Chris')
  
  n =
  
  Paul
  Jane
  Sam
  Chris
  </code></pre>