help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: matlab code conversion


From: Paul Kienzle
Subject: Re: matlab code conversion
Date: Thu, 27 Mar 2003 20:47:07 -0500
User-agent: Mozilla/5.0 (Windows; U; Win 9x 4.90; en-US; rv:1.3a) Gecko/20021212

Myriam Abramson wrote:
Hi!

I'm trying to convert some matlab code. I get an error parsing that: 


parse error near line 64 of file /home/me/somefunc.m

  
a_struct.name=fileroot(max([end-20 1]):end);
        
                                    ^

error: `somefunc' undefined near line 2 column 1
error: evaluating index _expression_ near line 2, column 1

Any ideas? Thanks. 

  
Try a newer version of Octave.

I can't tell if that will fix the problem since
you seem to have forgotten details such
as which version of octave you are using,
and how you installed it.  It works for
me on 2.1.44 in Cygwin.

Paul Kienzle
address@hidden


reply via email to

[Prev in Thread] Current Thread [Next in Thread]