|
From: | Shamika Mohanan |
Subject: | Re: Calling Octave package function from C++ code |
Date: | Fri, 7 Aug 2015 09:34:04 +0530 |
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
[Prev in Thread] | Current Thread | [Next in Thread] |