summaryrefslogtreecommitdiffstats
path: root/scilab/modules/call_scilab
diff options
context:
space:
mode:
authorAllan CORNET <allan.cornet@scilab.org>2009-11-10 15:44:01 +0100
committerAllan CORNET <allan.cornet@scilab.org>2009-11-10 15:44:01 +0100
commitb9cb6edaf24529660ceedc364b9893bd206bc905 (patch)
tree56d51f46dc78758612ab3ddfc90f13a93c2a7ba7 /scilab/modules/call_scilab
parent58f65a8a8230f482ea0c727bbee5df22ecd364a1 (diff)
parent85099d2bf3e5b6a812f3abfc7d174fc3e5b1a1ed (diff)
downloadscilab-b9cb6edaf24529660ceedc364b9893bd206bc905.zip
scilab-b9cb6edaf24529660ceedc364b9893bd206bc905.tar.gz
Merge commit 'refs/remotes/origin/5.2'
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);