Scilab Website | Contribute with GitLab | Mailing list archives | ATOMS toolboxes
Scilab Online Help
5.3.0 - Français

Change language to:
English - 日本語 - Português

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

Manuel Scilab >> 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 Utilities Functions xcos Menu_entries >>

Copyright (c) 2022-2024 (Dassault Systèmes)
Copyright (c) 2017-2022 (ESI Group)
Copyright (c) 2011-2017 (Scilab Enterprises)
Copyright (c) 1989-2012 (INRIA)
Copyright (c) 1989-2007 (ENPC)
with contributors
Last updated:
Wed Jan 26 16:24:17 CET 2011