help-octave
[Top][All Lists]
Advanced

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

Re: GLOBAL variables and C


From: Andrey Romanenko
Subject: Re: GLOBAL variables and C
Date: Fri, 10 Nov 2006 13:59:42 +0000
User-agent: KMail/1.9.5

Hi!

On Friday 10 November 2006 13:42, Tommy Andersson wrote:
> How do I access variables that are global in the m-script (by using the
> GLOBAL directive), from a program file written in C/C++ ? I am using the
> standard mkoctfile to create a .oct executable.

Something along the following line:

ColumnVector par (get_global_value("par").vector_value());

Andrey


reply via email to

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