help-octave
[Top][All Lists]
Advanced

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

Re: doubts about functions declared in parse.h ...


From: John W. Eaton
Subject: Re: doubts about functions declared in parse.h ...
Date: Mon, 14 Mar 2005 18:50:37 -0500

On 15-Mar-2005, Alberto Francisco Martin Huertas <address@hidden> wrote:

| Hi. Finally, I have chosen the first solution, that is , convert the original
| script file in a function file and call feval (after source this function 
file)
| from my C++ function.

If you convert the script to a function, you don't need to source it
first.  You can just call it by name with feval.

| Now I'm going to explain quickly why I have needed to do that. Actually, my 
C++
| function is an application client (I have used sockets from the Unix
| Programming Interface) of an application server which runs in a machine which
| has access to a SMP cluster. This cluster has a parallel model reduction
| library ( http://spine.act.uji.es/~plicmr/) which performs the computation.
| When the cluster finish the computation, it puts the results in a m-file. The 
| application server sends back this file to the C++ function which needs to
| evaluate it to provide the appropiate argout to the user. Thanks for your help

If it is just sending data, then why don't you just have it write a
data file?

jwe



-------------------------------------------------------------
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]