[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Calling Octave package function from C++ code
From: |
Mike Miller |
Subject: |
Re: Calling Octave package function from C++ code |
Date: |
Thu, 6 Aug 2015 23:56:27 -0400 |
User-agent: |
Mutt/1.5.23 (2014-03-12) |
On Fri, Aug 07, 2015 at 09:07:16 +0530, Shamika Mohanan wrote:
> No. That did not work. It shows the error
>
> error: feval: function 'pkg load control' not found
>
> I added the line 'pkg load all' to
> /usr/share/octave/site/m/startup/octaverc. Now I'm able to call functions
> from packages.
The words "load" and "all" are string arguments. Try the following:
feval ("pkg", ovl ("load", "all"), 0);
feval ("pkg", ovl ("list"), 0);
--
mike