<< C_macros C Computational Functions C_utils >>

Scilab help >> Xcos > Programming xcos Blocks > C Computational Functions > C_struct

C_struct

C Block structure of a computational function

Description

Contents

Module

Description

The C structure of a Scicos block defines all the fields to handle data provided by the simulator such inputs/outputs, parameters, states, ...

That structure of type scicos_block is defined in the file scicos_block4.h, and user must include that header in each computational functions in the form :

The fields, that can be either C pointers or directly data, are then accessible via the *block structure :

This access is a approach and most of users should prefer the approach for facilities purpose.

In the current version of Scicos, the scicos->block structure is defined :

Inputs/outputs

Events

Arguments

States and work

Zero crossing surfaces and modes

Miscallaneous

Authors

Alan Layec - INRIA

<< C_macros C Computational Functions C_utils >>