From: Djordje on
"Jay " <jaypar06ns(a)gmail.com> wrote in message <fu5l9q$2bv$1(a)fred.mathworks.com>...
> I found a solution that is pretty simple.
>
> Instead of using models that attach an ascii decode to the
> output of a fifo read block, just read the output from the
> fifo read block and access the string vector directly.
>
> Depending on how the fifo read block is configured, it will
> output an array of a certain size (default = 1024).
>
> This array has a type that is specified in the fifo read
> block properties (default = uint8).
>
> The uint8 values are the ascii values of the characters in
> the string.
>
> I used an embedded matlab function to parse the string data
> and extract the relevant values. Embedded Matlab is limited
> so get ready to be frustrated.
>
> I also used a fifo read hdrs block instead of a fifo read block.
> The output from the sensor were strings.

Jay,

I'm working on similar problem. Insted of temperature sensor, I need to connect voltmeter by rs232.
I steel did not achive to solve the problem with reading ascii code in simulink and display to xPC scope.

Can you sand to me your mdl file, it will be very halpful.
I appreciate all help.

Thanks,

Djordje