help-octave
[Top][All Lists]
Advanced

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

Re: Using Structures as Arguments in Octave Functions


From: Brian Blais
Subject: Re: Using Structures as Arguments in Octave Functions
Date: Tue, 09 Aug 2005 13:30:09 -0400
User-agent: Mozilla Thunderbird 0.8 (X11/20040913)

Kunz Donald L Civ AFIT/ENY wrote:
The Octave documentation states that structures can be returned from Octave functions, but is silent with regard to using structures as arguments in functions. Can structures be passed to functions as arguments? If not, why not?


Hello,

Structures are just variables, and any variables can be passed into and out of functions. This includes numeric, structure, cell arrays, etc.


                        Brian Blais

--
-----------------

            address@hidden
            http://web.bryant.edu/~bblais



-------------------------------------------------------------
Octave is freely available under the terms of the GNU GPL.

Octave's home on the web:  http://www.octave.org
How to fund new projects:  http://www.octave.org/funding.html
Subscription information:  http://www.octave.org/archive.html
-------------------------------------------------------------



reply via email to

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