Scilab Website | Contribute with GitLab | Mailing list archives | ATOMS toolboxes
Scilab Online Help
6.0.2 - 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

Aide de Scilab >> Xcos > Structure de données Scilab/Xcos > scicos_cpr

scicos_cpr

Compiled Scicos structure

cpr

The Scilab object cpr contains the result of the compilation. It is an executable representation of the schema and is used either to simulation or to generate code.

Type : scilab tlist of type "cpr" with fields : state, sim, cor and corinv.

state

Scilab typed list of type "xcs". It contains all the states of the model, that is, everything than can evolve during the simulation.

Type : state.

sim

Scilab typed list of type "scs". It contains static values coming from the result of the compilation. That values does not evolve during the simulation.

Type : sim

cor

It is a list with same recursive structure as scs_m. Each leaf contains the index of associated block in sim data structure. It can be used to retrieve compiled information of a specific block.

Size : number of graphical objects in scs_m.

Type : scilab list.

corinv

corinv(i) is the path of i th block defined in sim data structure in the scs_m data structure.

Size : number of simulable blocks.

Type : scilab list.

Report an issue
<< scicos_block Structure de données Scilab/Xcos scicos_diagram >>

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:
Thu Feb 14 15:00:00 CET 2019