Converting an octave_value to a stream

Thomas Weber thomas.weber.mail at gmail.com
Sun Dec 30 03:48:46 CST 2007


Hi, 

I'm trying to convert some .oct files from 2.1 to 3.0. The problematic
lines are

DEFUN_DLD( pfsopen, args, , helpString)
{
...
    octave_stream fid = args(0).stream_value();


According to src/ChangeLog, the stream_value() and related functions
were removed in 2005. So, how do I get the stream from an octave_value?

Thanks
	Thomas



More information about the Help-octave mailing list