#### agana56

##### Newbie level 3

**matlab question**

Hi all

Is there a counter with carry in matlab simulink (i mean that when there is over flow a carry is out )

I want to know after using the block ( signal to workspace ) how to take the stream of bits from the matlab command window in a text file and use it as an input signal to another system made in Quartus II (it is a software of Altera it is like FPGA advantage )

I mean that if i succeed to get this text file which has the stream of bit like this

t=[ 1 0 1 0 0 0 1 ............... 0 1 ]

i want at every clk one bit only is an input to the system ( note that the lengh of this vector is not known )

i tried to make a testbench but it is not right

thx for help

[/b]