Hi,
Thanks for your reply.
Yes I am looking for block which is kind of encoder. I used embedded Matlab function block to produce decimal output from binary inputs of Bernouli binary block. But I dont know exactly what code be written in embedded matlab function block to produce required output.
N.B Embedded Matlab block has input port which will take input data from bernouli binary and produce decimal data in output port.
Quoting shwaip
no one who posts here uses simulink.
you're probably looking for some block called a decoder or something.