uint8 undefined in GNU Octave, version 2.1.40 (i386-redhat-linux-gnu)
From:
Cassia Batista
Subject:
uint8 undefined in GNU Octave, version 2.1.40 (i386-redhat-linux-gnu)
Date:
Fri, 18 Aug 2006 19:40:13 -0300 (ART)
Hello,
I'm new in Octave/Matlab programming and I'm porting a source code made in Matlab to Octave, to run in a remote machine. I am having issues when using the uint8 function in GNU Octave, version 2.1.40 (i386-redhat-linux-gnu) . For example:
------------- octave:1> uint8(2) error: `uint8' undefined near line 1 column 1 -------------
1)Does anybody know which version of Octave for redhat has defined uint8? Because for testing purposes, I have installed in my XP Windows home computer the GNU Octave, version 2.1.73 (i686-pc-cygwin) and the uint8 is working fine.
2)Since I will have to ask my server administrator to reinstall the octave containing uint8 defined and this could be a little slow, would be great if someone would know other function that transforms a scalar vector in an uint8 scalar vector.