Discussion:
[Scilab-users] Scilab from Powershell
FIXED-TERM Nacer Mohamed Ikbal (ETAS/ESY)
2018-10-26 14:45:00 UTC
Permalink
hello mesdames and sirs,

I want to ask you about the possibility of calling a function that has been written within a scilab from powershell.

I am doing the following after have the file where the code written a side than calling it :

$objScilab.SendScilabJob("exec('D:\New\ScilabCode.sce', -1)")


I always receive an error result 999 in powershell
Antoine ELIAS
2018-10-26 15:06:38 UTC
Permalink
Hello,

I made a quick test and it seems to work ( curiosity ... I never used
powershell with Scilab )

ps.sce :


PS E:\git\6.0\scilab> $objScilab.SendScilabJob("exec('d:\tests\ps.sce',
-1);")

   0.3616361   0.4826472   0.5015342   0.6325745
   0.2922267   0.3321719   0.4368588   0.4051954
   0.5664249   0.5935095   0.2693125   0.9184708
0

Is it possible that you have an error in your file ?
Do you have try to exec your file in Scilab ?

Antoine
Post by FIXED-TERM Nacer Mohamed Ikbal (ETAS/ESY)
hello mesdames and sirs,
I want to ask you about the possibility of calling a function that has
been written within a scilab from powershell.
I am doing the following after have the file where the code written a
$objScilab.SendScilabJob("exec('D:\New\ScilabCode.sce', -1)")
I always receive an error result 999 in powershell
_______________________________________________
users mailing list
http://lists.scilab.org/mailman/listinfo/users
Loading...