This module opens a BackDoor into Scilab workspace (right now it only works in
It works by creating a new thread that listens on requests on a TCP port.
Each string send to that thread is executed in the Scilab workspace and a result
is sent back to the caller when requested.
For testing load the module (when the module is loaded you should see something
BackDoor: listening to commands on TCP port 27020
and then try opening a telnet connection
telnet 18.104.22.168 27020
and start writing Scilab commands as you would on the command window.
The result of the calculation is saved in the bd_result variable in Scilab.
If you need to run a command that shouldn't be saved in bd_result you can prefix
your command with "\", for example "\load('file.dat')".
Also if you type a '@' you will get the value of bd_result(in binary form of a C
The intention of this module is to use it with PowerDEVS (https://sourceforge.net/projects/powerdevs)
in order to process simulation results
in the Scilab enviroment.