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

Serial Communication Toolbox

A toolbox for communication over a Serial Port in Scilab
(8215 downloads for this version - 47736 downloads for all versions)
Enrico Segre
Aditya Sengupta
Owner Organization
Indian Institute of Technology Bombay
Administrator Atoms
Aditya Sengupta
Creation Date
March 13, 2017
Source created on
Scilab 6.0.x
Binaries available on
Scilab 6.0.x:
Windows 64-bit Windows 32-bit Linux 64-bit Linux 32-bit MacOSX
Install command
--> atomsInstall("serial")
            Serial Communication Toolbox for Scilab

This toolbox enables the use of Serial Communication in
[Scilab]( and
This is a port of the __Portable Serial Toolbox__ for Scilab originally written
by [Enrico Segre](
and has been ported 
to Scilab 5.x and released with his kind permission. It is licensed, at his 
request, under the GPLv3. 

Enrico does not wish to provide support for this
toolbox anymore. Therefore, for any support related queries or otherwise,
please raise an issue on the
[Github project page](
You can reach me at [this address](, but I would
prefer you raise an issue on Github for problems with the toolbox. 

This toolbox is known to have worked so far on Linux based systems and on
Windows (up till Windows 7). 

The implementation via TCL wrappers is certainly suboptimal, but shouldn't be
a penalty, given the low bandwidth and the intrinsic asynchronous mode of serial

communication. And mainly, it relieves the developer from supporting many
at once. 

Release Notes: 

v.0.4: Toolbox updated to be compatible with Scilab 5.4 

(First Release by Aditya Sengupta) 

v.0.3: Toolbox is now compatible with Scilab 5.x, along with help files. 

(Final Release by Enrico Segre)

v.0.2: corrected version after report of [bug
confused by strings containing nonprintable ascii characters, 

Toolbox essentially still geared for scilab 4.x (4.1.2, scicoslab) in the sense

- ``builder.sce`` and ``loader.sce`` make use of ``xmltohtml()``,
``add_help_chapter()``; xml files are based on the 4.x dtd (IF I would be able
to make doc in scilab5 I might even consider to package a new help page set
together with the old)
- in many points the detour ``TCL_EvalStr("set answ [....]");
  TCL_GetVar("answ")`` is still implemented (was mandatory prior to
it is not required
since scilab 4.1.2
However, the toolbox is reported to work with Scilab 5.0.2 final [I suppose,
without help pages readable in the help widget, but that's minor; html files
provided, anyway]
Files (2)
[83.85 kB]
Source code archive

[51.77 kB]
OS-independent binary for Scilab 6.0.x
Binary version (all platforms)
Automatically generated by the ATOMS compilation chain

News (0)
Comments (4)     Leave a comment 
Comment from Samuel Gougeon -- March 13, 2017, 11:34:22 PM    
Great to have it in Scilab 6.0 now
Comment from Jeff Waters -- May 15, 2017, 03:30:21 PM    
i use readserial from arduino and do not get continuous read... why ??    can it be done
without modification to toolbox... 
maybe its an issue with USB ... comments ??? 
Comment from Nicolas Boizot -- June 8, 2017, 05:49:30 PM    
I'm using this tollbox with Scilab 6 and it works great.
It seems however that, when using openserial, the COM port must be less than 10. Is that
really the case ?
Answer from Samuel Gougeon -- June 8, 2017, 05:52:34 PM    
> I'm using this tollbox with Scilab 6 and it works great.
> It seems however that, when using openserial, the COM port must be less than 10. Is
> really the case ?

As far as i remember: Yes, it is a limitation for all versions. We could analyze where it
comes from: TCL or elsewhere. On my side, i never needed more than 9 ports.
Comment from Güner Güvenç -- July 23, 2017, 09:10:12 AM    
It should definitely be a value under com port 10.
My port com 11 I have not been successful for 2 weeks.
I made comport 6.
Everything is fine
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.