scicos

Scilab Function
fr - eng
scicos - Block diagram editor and GUI for the hybrid simulator

### Module

- Scicos

### 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.

### Calling Sequence

    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/macros/auto/scicos.sci [view code]

### See Also

- scicosim - Scicos (batch) simulation function (Scilab Function)
- scicos_simulate - Function for running scicos simulation in batch mode (Scilab Function)