summaryrefslogtreecommitdiffstats
path: root/scilab/modules/call_scilab
diff options
context:
space:
mode:
authorAllan CORNET <allan.cornet@scilab.org>2009-11-10 15:43:17 +0100
committerAllan CORNET <allan.cornet@scilab.org>2009-11-10 15:43:17 +0100
commit189a853a052800bd23e67dea8a242576944d4138 (patch)
treec1ae6633befdd97ea73436a85cc4700455ee9736 /scilab/modules/call_scilab
parent153f4ad5d727be7a253535acbb2fd18ffb961651 (diff)
downloadscilab-189a853a052800bd23e67dea8a242576944d4138.zip
scilab-189a853a052800bd23e67dea8a242576944d4138.tar.gz
remove ref. to .o and replace by good extension
Diffstat (limited to 'scilab/modules/call_scilab')
-rw-r--r--scilab/modules/call_scilab/examples/call_scilab/cpp/common/myprog.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/scilab/modules/call_scilab/examples/call_scilab/cpp/common/myprog.c b/scilab/modules/call_scilab/examples/call_scilab/cpp/common/myprog.c
index 40fc77b..466b56f 100644
--- a/scilab/modules/call_scilab/examples/call_scilab/cpp/common/myprog.c
+++ b/scilab/modules/call_scilab/examples/call_scilab/cpp/common/myprog.c
@@ -77,7 +77,7 @@ int my_ode_job()
77 double x[]={1,0,0} ; int mx=3,nx=1; 77 double x[]={1,0,0} ; int mx=3,nx=1;
78 double time[]={0.4,4}; int mt=1,nt=2; 78 double time[]={0.4,4}; int mt=1,nt=2;
79 fprintf(stdout,"linking \n"); 79 fprintf(stdout,"linking \n");
80 SendScilabJob("ilib_for_link('odeex','my_ode.o',[],'c');"); 80 SendScilabJob("ilib_for_link('odeex','my_ode.c',[],'c');");
81 fprintf(stdout,"link done \n"); 81 fprintf(stdout,"link done \n");
82 SendScilabJob("exec('loader.sce');link('show')"); 82 SendScilabJob("exec('loader.sce');link('show')");
83 WriteMatrix("x", &mx, &nx, x); 83 WriteMatrix("x", &mx, &nx, x);