[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Octave Standalone exe
From: |
vinukn |
Subject: |
Octave Standalone exe |
Date: |
Sun, 17 Mar 2013 23:21:37 -0700 (PDT) |
I have a cpp file,I compiled this cpp file using mkoctfile command,but I got
lots of errors, Using Octave 3.6.2 visual studio build,2010. I can run
demos in Octave manual file.
//Main.cpp
#include <iostream>
#include <octave/oct.h>
#include <octave/octave.h>
#include <octave/parse.h>
int main (void)
{
string_vector argv (2);
argv(0) = "embedded";
argv(1) = "-q";
octave_main (2, argv.c_str_vec (), 1);
octave_value out = eval_string ("3+4", true,1);
std::cout <<out;
eval_string ("plot(hilb(3))", true,1);
return 0;
}
--
View this message in context:
http://octave.1599824.n4.nabble.com/Octave-Standalone-exe-tp4650899.html
Sent from the Octave - General mailing list archive at Nabble.com.
- Octave Standalone exe,
vinukn <=
- Re: Octave Standalone exe, Tatsuro MATSUOKA, 2013/03/18
- Re: Octave Standalone exe, vinukn, 2013/03/18
- Re: Octave Standalone exe, vinukn, 2013/03/18
- Re: Octave Standalone exe, Michael Goffioul, 2013/03/18
- Re: Octave Standalone exe, vinukn, 2013/03/18
- Re: Octave Standalone exe, vinukn, 2013/03/18
- Re: Octave Standalone exe, Michael Goffioul, 2013/03/19
- Re: Octave Standalone exe, vinukn, 2013/03/19
- Re: Octave Standalone exe, Michael Goffioul, 2013/03/19
- Re: Octave Standalone exe, vinukn, 2013/03/19