Scilab Home Page | Wiki | Bug Tracker | Forge | Mailing List Archives | Scilab Online Help | File Exchange
ATOMS : CPGE - Control systems for French preparatory classes details

CPGE - Control systems for French preparatory classes

CPGE dedicated Xcos blocks
(42958 downloads for this version - 191790 downloads for all versions)
Owner Organization
Education Nationale
Samuel Gougeon
Administrator Atoms
Charlotte Hecquet
Bruno Jofret
Yann Debray
Creation Date
August 16, 2016
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 macOS
Install command
--> atomsInstall("CPGE")
            Ce module fournit des blocs Xcos utilisés dans l'étude de systèmes pour
l'enseignement des SII en classes préparatoires aux grandes écoles.

Il permet de :
- modéliser des systèmes asservis,
- faire de la simulation temporelle (analyse temporelle multi-paramètres),
- faire de la simulation fréquentielle (diagrammes de Bode, Black et Nyquist),
- réaliser des études de systèmes (robot MAXPID).            
Files (2)
[5.07 MB]
Source code archive

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

News (0)
Comments (7)
Comment from Belot Eric -- September 7, 2016, 10:36:13 AM    

I have installed the last version of this toolbox (v1.6.3) on Scilab 5.5.2 version and
have the following error message when toolbox is automatically load (in french):

Start CPGE - Xcos toolbox
	Load macros
	Load palette - CPGE - Standard blocks
atomsLoad : Une erreur est survenue au cours du chargement de 'CPGE-1.6.3':
	import_from_hdf5 : Version erronée du format de fichier SOD. Valeur maximum attendue :
Trouvée : 3

Also I have created the .names file which is not present on the package.

What is the problem with the .SOD ?

Thanks in advance.

Comment from Belot Eric -- September 7, 2016, 01:50:11 PM    
I found solution to this PB.
I have installed the 1.6.0 version compliant with Scilab 5.5.2
So, don't install the last version of this toolbox on the previous version of Scilab ...
Comment from Sébastien Celles -- October 22, 2018, 10:14:31 PM    

At Scilab startup,

Initialisation :
  Chargement de l'environnement de travail

Start iodelay toolbox 
    Load macros
    Load help
    Load demos

Start CPGE - Xcos toolbox
    Load macros
    Load palette - CPGE - Standard blocks
    Load help
    Load demos
    CPGE Version: 1.6.0

is shown on Scilab console despite

    CPGE Version: 1.6.3

was installed

Similar issue occured both with Scilab 5.5.2 and 6.0.x

I hope you can fix that and keep CPGE module updated (especially for Scilab 6.0.x version)

Kind regards
Answer from Samuel Gougeon -- February 3, 2019, 04:14:59 PM    
Retranscrit à
Comment from Samuel Gougeon -- April 8, 2019, 06:32:15 PM    
The archive of source files for this 1.6.3 version is named cpge-1.6.2.tar.gz.
Is it really up-to-date? Can we start from it to prepare the next release 1.6.4,
or is the source code on the forge to be considered?
Comment from Jonas Kipp -- May 17, 2019, 10:22:54 PM    
I got a 'little' Problem.
I have a PID regulator for a DC motor and I would like to plot a Bode diagramm for exact
this. Transfer function works and the scope looks perfectly, but a Bode diagramm .. nope.
I tried to find some Tutorials on the www but the existing three doesn't help.
And my french is so baaad that I am totally overwhelmed.

So. Could one of you guys explain how it works ? In detail and for Idiots maybe, to clear
up misunderstandings.

At the moment I try to get it work with the two "GRANDEUR_PHYSIQUE". 
One in front of my regualtion and one at the end. 
Also I place the bode block somewhere and set block type at "1". 
And also I set the Scope to Time = 3s (in the scope themselve and under simulation ->
Scope looks fine. Everything ok. Bode Plot, doesn't work. Nothing happens.
Just [Error in post_xcos_simulate: ending simulation.] at the command window of SciLab.

I hope I could describe my problem good enough ..

Thx, and greetings from Germany. Berlin :D
Answer from Reddy Rohit -- May 25, 2020, 02:19:44 PM    
hello Jonas Kipp

i am getting the same error Error in post_xcos_simulate: ending simulation] and bode 
plot does not get plotted 
scilab version : 6.02

Is this problem resolved for you ?

Also i am not able to find  CGPE module for latest version 6.1

Any suggestion ?

Comment from Philippe Cuenot -- June 26, 2019, 07:34:48 PM    

I am using the ATOMS CPGE 1.6.3 with Scilab 5.5.2 on Windows 2012 Server to be able to
calibrate a PI control. When using the paramter block (with correct configuration)
simulation fails with the error message below.
Did anyone already meet this problem and found an a fix ?
Thanks for your help

Warning !!!
Scilab has found a critical error (EXCEPTION_ACCESS_VIOLATION).
Save your data and restart Scilab.
 Une erreur s'est produite dans pre_xcos_simulate : Simulation annulée.   
 at line 311 of function scicos_simulate
Comment from Patrick Calmettes -- April 28, 2020, 06:41:25 PM    

J'ai installé semble-t-il avec succès le module CPGE 1.6.3 pour Scilab 6.1.0 mais en 
essayant d'excuter les fichiers zcos précédemment créés avec Scilab 5.5.2, j'obtiens ce

type de message:

"Problème avec la taille ou le type de port"

qui concerne les blocs fonctionnels SCOPE provenant du module CPGE.

Quelqu'un aurait-il une idée sur la façon de résoudre ce problème?