[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Need some help with Oct files
From: |
Philip Goh |
Subject: |
Need some help with Oct files |
Date: |
Tue, 5 Sep 2006 12:31:54 +0100 |
Hi there,
I've been trying to get some code that I've written in Matlab as Mex
modules ported into Octave oct modules. I've run into a slight
problem that I hope people on this list would be able to help me with.
I have a function that returns multiple values. i.e. it is invoked like
[a,b,c] = myfunc(d);
I haven't been able to find a way of doing this multiple return in an
oct file. Thus, right now, I'm putting everything into a column
vector, and having myfunc return that instead. It's a work around,
not too elegant but it works for now. Even so, I would still like to
know how I'd go about setting up multiple return values in oct files?
cheers,
Philip
p.s. Is there a good site on writing oct files? I'm currently using
http://octave.sourceforge.net/coda/c58.html as a guideline, and i
would appreciate documents that went further.
- Need some help with Oct files,
Philip Goh <=