|
From: | Keith Goodman |
Subject: | How do I paste code at the Octave prompt? |
Date: | Wed, 15 Mar 2006 16:26:49 -0800 |
I often evaluate snippets of code by pasting the snippet into the command window. Pasting this works: for i = 1:10 disp(i) end But pasting this doesn't work: for i = 1:10 if i > 4 disp(i) end end I get >> for i = 1:10 > if i > 4 > Display all 2165 possibilities? (y or n) > d > end ------------------------------------------------------------- Octave is freely available under the terms of the GNU GPL. Octave's home on the web: http://www.octave.org How to fund new projects: http://www.octave.org/funding.html Subscription information: http://www.octave.org/archive.html -------------------------------------------------------------
[Prev in Thread] | Current Thread | [Next in Thread] |