octave-maintainers
[Top][All Lists]
Advanced

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

Re: Where is the pieces of code that do the following...


From: Corbin Champion
Subject: Re: Where is the pieces of code that do the following...
Date: Fri, 16 Mar 2012 15:40:14 -0700



On Fri, Mar 16, 2012 at 10:54 AM, Corbin Champion <address@hidden> wrote:


On Fri, Mar 16, 2012 at 7:15 AM, John W. Eaton <address@hidden> wrote:
On 15-Mar-2012, Corbin Champion wrote:

| Looking for where in the Octave code it traverses the path to find a .m file
| that matches a function name.

Look at load-path.h and load-path.cc.

jwe

Thanks for the replies!  Maybe a better question is, how does Octave know where to find the .m files (and other files) that are part of the Octave install.  How do I tell Octave they are somewhere other than normal?  Is it just part of the Octave PATH?  The reason I ask this, is I have Octave working in Android (haven't built all optional dependencies or octave forge packages, but I think that would be easy given where I am at), but to package it as an app for the app market, any resources the program is dependent on have to be installed in a particular way and place, which is different than normal.  I am thinking of just unpacking these all to a directory and telling Octave to look there, if it is that simple.

Thanks,
Corbin

So, yes this will work.  I just need to modify the loadpath.  Btw... I finished getting gnuplot also compiling and packaging it for Android has been no problem.  I have created a new android specific term (need to add zoom and all that later, but the proof of concept is working).  I went back to revisit why I was having trouble doing the same for octave and made a few key breakthroughs.  I will tell the group when it is released. 

Thanks,
Corbin 


reply via email to

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