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@lists.scilab.org
http://lists.scilab.org/mailman/listinfo/users

_______________________________________________
users mailing list
users@lists.scilab.org
http://lists.scilab.org/mailman/listinfo/users

Reply via email to