The toolset for simulation and code generation for embedded devices

Welcome to the E4Coder website

E4Coder is a set of tools that can be used to simulate control algorithms and to generate code for embedded microcontrollers running with or without a realtime operating system.

The idea driving the development of E4Coder was the need for a lightweight set of tools, based on open-source libraries and using open-source software on the target microcontroller, to help in the design of complex systems at reasonable license costs.

Now available for both ScicosLab and Scilab 

ScicosLogoSmall  Scilab_logo

E4Coder is packaged as a set of Toolboxes for Scilab and ScicosLab, a free and open software for simulation of software and system models. In particular, E4Coder includes:

  • E4Coder Code Generator, an efficient embedded code generator for microcontrollers and for general puropose systems;
  • SMCube, a finite state machine modeler and code generator;
  • E4Coder GUI, a prototyping tool for generating Graphical User Interfaces.

E4Coder also directly supports E4Box, which is an all-in-one Rapid prototyping computing box based on GNU/Linux.

The main Features of E4Coder are:

  • Support for Linux and Windows hosts.
  • Simulate continuous and discrete time designs.
  • Edit, simulate and generate code for hierarchical Finite State Machines (FSM) with parallel states support.
  • Edit, simulate and generate code for customized embedded user interface panels using E4CoderGUI.
  • Generate C/C++ code easily from Scilab and XCos diagrams for any embedded platform.
  • Generate compact and readable multithread code for embedded models with multiple rates.
  • Optimized usage of RAM and Flash.
  • Easy retargeting to new MCUs or customized hardware.
  • Generate standalone library code for small microcontrollers without an RTOS.
  • Generate a complete Real-Time project for
    • OSEK/VDX based RTOS, including the open-source Erika Enterprise RTOS.
    • Linux PThread targets, including support for the Comedi libraries.
    • RTAI targets, including support for the Comedi libraries.
    • Bare Metal targets, including support for simple main loops code generation.
    • Windows (soft real-time), including E4CoderGUI Panels, to generate GUI Prototypes easily.
  • Customize the generated code with custom data types and variable names.
  • Create custom blocks to integrate existing legacy applications, functions, and data in your Scilab or  ScicosLab project.


Request a Demo

A fully functional demo version of E4Coder is available! If you want to try it, do not hesitate to Contact Us.

Also check these videos:

Videos on target boards:

Videos from scratch:

News and Events

<< <  Page 2 of 8  > >>

Mar 6, 2017
Category: General

E4Coder is now available on the public ATOMS repository also for Scilab6.0 64 bit.

Feb 17, 2017
Category: General

We are pleased to announce that Trity Technologies is organizing a course about automatic code generation for Arduino using E4Coder!

Check this page out for more news!

Jun 10, 2016
Category: General

It is now possible to generate code for SMCube blocks inside MicroDAQ diagrams. The state machine code is generated during the code generation process and automatically integrated inside the DSP image that is programmed inside the MicordDAQ device. For more information about MicroDAQ, please see

Oct 19, 2015
Category: General

E4Coder will be presented at the next International CAE Conference - Pacengo del Garda (Verona) - Italy, 19 - 20 October 2015

Copyright © 2002-2012 Evidence Srl - Via Squartini 42, 56121 Ospedaletto - Pisa - Italy - Phone: +39 050 991 1122 - E-mail: - Capitale sociale interamente versato: 27200 euro - Codice Fisc. e Partita IVA: 01638690501 - Iscrizione nella sezione ordinaria della Camera di Commercio di Pisa (REA): 142992