octavescilabrecompile

Scilab, backdoor error, octave conflict


I installed scilab.6.0.0 and backdoor fromscilab website (which I could not find it from Application>Module maneger>atom>Technical). I moved the backdoor file my home and from scilab command line I installed it

-->atomsInstall('/home/user/BackDoor_0.2_5.5.bin.x86_64.linux.tar.gz')

Even though, it installed backdoor successfully, when I restart the scilab I got this error message with backdoor

Start Toolbox BackDoor
    Load macros
atomsLoad: An error occurred while loading 'BackDoor-0.2':
    lib: Old binary lib detected. Please recompile it for Scilab 6.

As I understand I need to update the library, but I don't know how? Would sb tell me explicitly (because I am a newbie user of scilab) how can I get over the error? at the and I try to connect octave and scilab and when I try to run a demo script at octave I get also this error

>> sci_sim_example
Scilab connection failed

FYI: I already installed sci_cosim package (after I downloaded the package, I write to octave prompt >>pkg install sci_cosim_0.1.3.tar.gz), and I load it before running the script.

How can I recompile the lib: Old binary lib detected

Thank you so much for your help in advance


Solution

  • Here's what worked for me.


    PS. Also note that from the octave side of things, the -auto option is no longer accepted when you perform a pkg install. You will need to load the sockets and sci_cosim packages manually each time you want to use this.