Name

scicos — Block diagram editor and GUI for the hybrid simulator

Calling Sequence

scs_m = scicos([toto])

Module

Description

Scicos is a visual editor for constructing models of hybrid dynamical systems.

Invoking Scicos with no argument opens up an empty Scicos window. Models can then be assembled, loaded, saved, compiled, simulated, using GUI of Scicos. Scicos serves as an interface to the various block diagram compilers and the hybrid simulator scicosim. The input and output arguments are useful for debugging purposes.

scs_m = scicos([toto])

Parameters

  • toto : either a Scicos diagram structure (scs_m) or a character string containing the path of the diagram file (.cos or .cosf extension). If no input argument is used, an empty diagram is opened (default name Untitled).

  • scs_m : Scicos diagram structure after edition.

Example

// Open a new diagram 
scicos();
scicos
// Load a diagram  
scicos SCI/demos/scicos/bounce.cosf; 
scs_m=scicos('SCI/demos/scicos/bounce.cosf'); 
// Load a structure 
load('mondiagr.cos'); 
scs_m=scicos(scs_m);

File content

  • SCI/modules/scicos/macros/scicos_auto/scicos.sci

See Also