The Matlab-command native2unicode performs the conversion but I can't use this command in an Embedded Matlab function and build my model to a platform (in my case a dSpace microautobox). Is there a simulink model block which performs this operation?
Thank you,
Erik
"Erik " <erik.j...@consultant.volvo.com> wrote in message <hq71h2$kua$1...@fred.mathworks.com>...
Piyush
"minal BHADANE" wrote in message <ijv37k$sf0$1...@fred.mathworks.com>...
I have the some problem like you....
i still dont have the correct 100% solution, but this is atleast 70% working..
Regards,
Piyush
I had this problem and solved using a block from xPC Target Toolbox.
Under xPC Target Toolbox, go to RS232 and look for the block "ASCII Decode".
It will convert you uint8 vector to double according to a format string like: %d\t%d\n (for example, if you have a uint8 vector that represents two integers separated by 'tab').
I hope this helps.
I had this problem and solved using the simulink block "ASCII Decode", from xPC Target Toolbox.
This will convert your uint8 vector to double according to a format string like: %d\t%d\n (for example)
I hope it helps.