MATLAB 5.3 (R11) v. Octave 3.0.0 script compatibility error?
v4r4n
console.cowboy at gmail.com
Thu Apr 23 13:54:41 CDT 2009
After finally getting some MATLAB scripts from an old thesis to work with a
MATLAB (R11) on WinXP, I decided to try and see if the same scripts worked
with Octave.
Using Ubuntu 8.04 and Octave 3.0.0 these commands:
VEC = [1, 2, 3];
for i=VEC
DB(i==VEC)=-15;
end
produce these error messages:
error: invalid index = 0
error: assignment failed, or no method for `scalar = scalar'
error: evaluating assignment expression near line 3, column 15
error: evaluating for command near line 2, column 1
Please forgive me if this is a known bug/error. Since I'm new to both
MATLAB and Octave, I'm unsure how to search for and describe what is going
on here.
If this is the wrong place to post and ask such questions, please point me
in the right direction.
~Thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://www-old.cae.wisc.edu/pipermail/bug-octave/attachments/20090423/87293c04/attachment.html
More information about the Bug-octave
mailing list