Scilab Home Page | Wiki | Bug Tracker | Forge | Mailing List Archives | Scilab Online Help | File Exchange
ATOMS : BackDoor details
Please login or create an account

BackDoor

This module opens a BackDoor into Scilab workspace in Scilab 6.0.2
(702 downloads for this version - 7147 downloads for all versions)
Details
Version
0.22
Author
Federico Bergero
Owner Organization
CIFASIS - UNR
Maintainers
William Thissell
Federico Martín Bergero
Administrator Atoms
Category
License
Creation Date
March 3, 2019
Source created on
Scilab 6.0.x
Binaries available on
Scilab 6.0.x:
Linux 64-bit
Install command
--> atomsInstall("BackDoor")
Description
            This module opens a BackDoor into Scilab workspace. 

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
like:
	
	BackDoor: listening to commands on TCP port 28020

and then try opening a telnet connection 
	
	telnet 120.0.0.1 28020

and start writing Scilab commands as you would on the command window (with a new
line in the end). NOTE: the port used is 27020 in windows and 27020 + UID in
Linux. This is to allow multiple users using the module.

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
double). If you type "?" you will get the value of bd_result in text.

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.
            
Files (2)
[54.64 kB]
Source code archive

[54.66 kB]
Linux 64-bit binary for Scilab 6.0.x
20190303 Updated to not call scirun_ because I cannot find which library has
this function and I cannot find documentation for it.
News (0)
Comments (0)
Leave a comment
You must register and log in before leaving a comment.
Email notifications
Send me email when this toolbox has changes, new files or a new release.
You must register and log in before setting up notifications.