matlab - Simulink: Bit extraction from 1-Byte Hex -


i'm relatively new simulink , looking possibility extract 1-3 specific bits 1 byte. far know input format (bin, dec, hex) of constant irrelevant following!? how can constant "1234" hex , not dec?

in model use "constant block" source (will parametrised matlab variable comes m-file). further processing "extract bits block" causes error on incompatible data types.

can me deal issue?

greets, poeschlorn

you should conversion hex->dec in .m initialization file , use value in simulink.


Comments

Popular posts from this blog

java - SNMP4J General Variable Binding Error -

windows - Python Service Installation - "Could not find PythonClass entry" -

Determine if a XmlNode is empty or null in C#? -