• Include a Scilab function/script as a block in xcos/scicos

    From F. S. Farimani@21:1/5 to All on Tue Feb 19 02:59:16 2019
    I have originally posted this question here on StackOverflow:


    As the title says I want to include a block where I can run a scilab expression/function/script given certain inputs. I can see xcos/scicos can include C, Fortran and Modelica. There is a Expression block, but the functions are pretty limited:

    sin, cos, tan, exp, log, sinh, cosh, tanh, int, round, ceil, floor, sign, abs, max, min, asin, acos, atan, asinh, acosh, atanh, atan2, log10.

    for example if I want to solve a second order equation of ax^2+bx+c=d there are no sqrt or power/^ operators/functions! Ideally I want to just run a Scilab script/function where I can have complete freedom. I would appreciate if you could help me know if
    there is such a block in either xcos or scicos.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)