Is it possible to give a hex input to stateflow chart from simulink?

4 次查看(过去 30 天)
Hi, i want to give hex input from simulink to a stateflow chart which does some shifting and the gives the shifted output to simulink.
hw can we do that ?

采纳的回答

TAB
TAB 2013-2-22
What do you mean by hex input?
If you mean hex represented number (like 0x5A), then it is just a representation of number. You can pass the equivalent decimal value to chart and do the operation as you want. Representing values in Hex format is not supported in Simulink (except some output blocks like 'Display' which can show the numbers in hex format).
  2 个评论
Vijith Natarajan
Vijith Natarajan 2013-2-22
yeah, i meant like giving 0xff like that only, so if i want to give some hex value , i should convert it and send it to the chart , right?.

请先登录,再进行评论。

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Simulink Functions 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by