How to create constant byte array values?

3 views (last 30 days)
Tahir
Tahir on 21 Apr 2012
Hi all,
I want to create byte array values by using simulink "Constant Block". It should be like this
byte[] XFData = { 68, 65, 84, 65, 0, 11, 0, 0, 0, 205, 204, 76, 62, 0, 192, 121, 196, 0, 192, 121, 196, 0, 192, 121, 196, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 };
After that this value send to simulink "UDP Send Binary Block". Is this possible?If yes how?
Many thanks Tahir

Answers (0)

Products

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!