Nom

xcos — Block diagram editor and GUI for the hybrid simulator

Calling Sequence

xcos(filename)
xcos(scs_m_list)

Module

Description

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

Invoking Xcos with no argument opens up an empty Xcos window. Models can then be assembled, loaded, saved, compiled, simulated, using GUI of Xcos. Xcos serves as an interface to the various block diagram compilers and the hybrid simulator scicosim.

 
xcos('mydiagram.xcos')
 

Parameters

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

  • scs_m_list : a Xcos diagram structure after edition.

Example

 
// Open a new diagram 
xcos();
xcos

// Load a diagram  
xcos SCI/scicos/demos/bounce.cosf; 

// Load a structure 
load('mondiagr.cos'); 
xcos(scs_m);
 

See Also