From bug-octave-request at bevo dot che dot wisc dot edu Fri Nov 17 11:11:26 2000 Subject: 'end' keyword From: Eric Tenenbaum To: bug-octave at bevo dot che dot wisc dot edu cc: tene at fatkat dot com Date: Fri, 17 Nov 2000 11:11:19 -0600 Hello Although octave does not claim to be 100% compatible with Matlab M-files I do have a question/request about the 'end' keyword. Below I show a use of this keyword in both environments. Is it possible to add the 'end' keyword to make its use compatible with Matlab? And if you have no plans to do so could you give me a few pointers into the code where I might try my hand at the task? Thanx ERIC tene at fatkat dot com ************************************************************************* Mahtworks matlab >> a=1:5 a = 1 2 3 4 5 >> b=a(3:end) b = 3 4 5 ************************************************************************* ************************************************************************* Octave version GNU Octave, version 2.1.31 (alphaev6-unknown-linux-gnu). octave:5> a=1:5 a = 1 2 3 4 5 octave:6> b=a(3:end) parse error: >>> b=a(3: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 -------------------------------------------------------------