Scilab Home page | Wiki | Bug tracker | Forge | Mailing list archives | ATOMS | File exchange
Please login or create an account
Change language to: Français - Português - 日本語

Please note that the recommended version of Scilab is 6.0.2. This page might be outdated.
See the recommended documentation of this function

Scilab manual >> xcos > xcos

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')

Arguments

  • 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);
Scilab Enterprises
Copyright (c) 2011-2017 (Scilab Enterprises)
Copyright (c) 1989-2012 (INRIA)
Copyright (c) 1989-2007 (ENPC)
with contributors
Last updated:
Wed Jan 26 16:23:48 CET 2011