File: check_io.cat

package info (click to toggle)
scilab 2.6-4
  • links: PTS
  • area: non-free
  • in suites: woody
  • size: 54,632 kB
  • ctags: 40,267
  • sloc: ansic: 267,851; fortran: 166,549; sh: 10,005; makefile: 4,119; tcl: 1,070; cpp: 233; csh: 143; asm: 135; perl: 130; java: 39
file content (41 lines) | stat: -rw-r--r-- 1,648 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
check_io          Scilab Group          Scicos function            check_io
NAME
   check_io - Checks and sets Scicos block port numbers.
  
CALLING SEQUENCE
 [model,graphics,ok]=check_io(model,graphics,in,out,clkin,clkout)
PARAMETERS
 model      : Scicos model data structure (see scicos_model)
            
 graphics   : Scicos graphics data structure (see scicos_graphics)
            
 in         : vector of regular input port sizes. Set in=[] in no regular
            input port
            
 out        : vector of regular output port sizes. Set out=[] in no
            regular output port
            
 clkin      : vector of event input port sizes. Set clkin=[] in no event
            input port
            
 clkout     : vector of event output port sizes. Set clkout=[] in no event
            output port
            
 ok         : boolean, %t if specified input/output have been correctly
            set. %f if specified input/output cannot be taken into account.
            
            
DESCRIPTION
   This function is to be called when number of regular or event input or
  output ports is modified. It check if it is possible (connected ports
  cannot suppressed) and updates  model and  graphics block substructures. 
  in, out, clkin, clkout are the vectors of port sizes for respectively the
  regular inputs, regular outputs, event inputs and event outputs.
  
   Negative values in  in or  out vector means that corresponding ports
  dimension are to be determined by the context. Two equal negative values
  means that corresponding ports have same size. 
  
SEE ALSO
   scicos_block, scicos_model, scicos_graphics