[Scilab-users] Scilab from Powershell

Antoine ELIAS antoine.elias at scilab-enterprises.com
Fri Oct 26 17:06:38 CEST 2018


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
Le 26/10/2018 à 16:45, FIXED-TERM Nacer Mohamed Ikbal (ETAS/ESY) a écrit :
>
> 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
>
>
>
> _______________________________________________
> users mailing list
> users at lists.scilab.org
> http://lists.scilab.org/mailman/listinfo/users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.scilab.org/pipermail/users/attachments/20181026/a48f614e/attachment.htm>


More information about the users mailing list