samphold4.c

Go to the documentation of this file.
00001 #include "scicos_block.h"
00002 
00003 void samphold4(scicos_block *block,int flag)
00004 {
00005   /* c     Copyright INRIA
00006      
00007   Scicos block simulator
00008   returns sample and hold  of the input */
00009   
00010   int i;
00011   if (flag ==1){
00012     for (i=0;i<block->insz[0];i++) 
00013       block->outptr[0][i]=block->inptr[0][i];
00014   }
00015 }

Generated on Sun Mar 4 15:03:59 2007 for Scilab [trunk] by  doxygen 1.5.1