help-octave
[Top][All Lists]
Advanced

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

Re: using user defined function in a stand alone c++ application


From: Michael Bernward Schmidt
Subject: Re: using user defined function in a stand alone c++ application
Date: Fri, 26 Jan 2007 10:31:48 +0100

-----Ursprüngliche Nachricht-----
Von: Søren Hauberg <address@hidden>
Gesendet: 24.01.07 17:35:16
An: Michael Bernward Schmidt <address@hidden>
CC: address@hidden
Betreff: Re: using user defined function in a stand alone c++ application

Hello

I have tested your solution but it won't work and I got the same error message.

Any other ideas?

THX

Michael
      
  


Hi,
   I haven't tried this, but shouldn't you do something like

        octave_value_list args;
        args(0) = 2;
        retval=feval("octavetest",args);

instead of

>       octave_value_list args;
>         args(0) = "octavetest";
>       args(1) = 2;    
>       retval=feval("feval",args);    
?

Søren





_______________________________________________________________________
Viren-Scan für Ihren PC! Jetzt für jeden. Sofort, online und kostenlos.
Gleich testen! http://www.pc-sicherheit.web.de/freescan/?mc=022222




reply via email to

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