Scilab Home Page | Wiki | Bug Tracker | Forge | Mailing List Archives | Scilab Online Help | File Exchange
ATOMS : Scilab 2 C details
Login with GitLab

Scilab 2 C

Translate Scilab code into C code
(3991 downloads for this version - 35859 downloads for all versions)
Details
Version
1.0
A more recent valid version exists: 2.3
Authors
Bruno JOFRET
Allan SIMON
Raffaele NUTRICATO
Owner Organization
DIGITEO
Maintainers
Pierre MARECHAL
Bruno JOFRET
Category
License
Creation Date
October 30, 2009
Source created on
Scilab 5.3.x
Binaries available on
Scilab 5.3.x:
Linux 32-bit Windows 32-bit Windows 64-bit Linux 64-bit
Install command
--> atomsInstall("scilab2c")
Description
            Sci2C is a tool capable to translate Scilab code into C code.

It is a standalone toolbox of Scilab and it has been primarily developed to
become the interface between the Scilab scientific software package and the
hArtes design flow.

The output C code is in a plain style and does not include any part of the
Scilab interpreter thus making it small, efficient and easy to interface to the
hArtes tool chain.

In other words, the generated C code is standalone and minimal in the sense that
Scilab interpreter is no longer needed and only the minimal number of C files
which are necessary to execute the application are generated. It follows that
the generated code can be embedded in processors or used as entries for other
software.

Sci2C is implemented in Scilab language, so it naturally becomes a Scilab
toolbox available in the Scilab installation program and consequently it can be
directly used in the Scilab Development Environment. 

The implementation of Sci2C is mainly based on the introduction of data and
function annotations into Scilab code which is seen as comment by the Scilab
interpreter, but that are used by Sci2C to translate the Scilab code into an
efficient and plain C code. Moreover the use of annotations allows the user to
specify not only the size of data but also their precision, in that way it is
possible to get a further optimization of the C code produced thanks to the
possibility to use ad-hoc precision for each data to be processed.

Two major limitations can be identified in Sci2C: the first limitation of the
tool is that the annotations must be manually added by the user, although it is
the only manual intervention required by the tool; the second limitation is that
the size of data is fixed and consequently no dynamic array extension is
allowed. 

Other minor limitations have been introduced in order to simplify the
development of the tool without impacting on the usefulness of it for embedded
systems.
            
Files (6)
[6.23 MB]
Source code archive
Sources of Scilab 2 C module
[4.61 MB]
macosx binary 32 for Scilab 5.3.x
MacOSX version
Automatically generated by the atoms compilation chain
[4.63 MB]
Linux 32-bit binary for Scilab 5.3.x
Linux 32-bit
Automatically generated by the atoms compilation chain
[5.55 MB]
Windows 32-bit binary for Scilab 5.3.x
Windows 32-bit
Automatically generated by the atoms compilation chain
[5.55 MB]
Windows 64-bit binary for Scilab 5.3.x
Windows 64-bit
Automatically generated by the atoms compilation chain
[4.62 MB]
Linux 64-bit binary for Scilab 5.3.x
Linux 64-bit
Automatically generated by the atoms compilation chain
News (0)
Comments (0)
Leave a comment
You must register and log in before leaving a comment.
Login with GitLab
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.