Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Simulink: Displaying Hex Values

210 views
Skip to first unread message

Jeff Huston

unread,
Jun 24, 2004, 4:21:32 PM6/24/04
to
I see this question has been asked a couple of times before but never
receieved a response. I realize that Simulink supports only double,
single, int8, uint8, int16, uint16, int32, and uint32 data types (so
I probably answered my own question) but is there anyway to convert
to and display a hex value in simulink? I believe it can be masked
into hex for bitwise operations, but I haven't found any way to
display it.

If someone could just confirm for me whether or not there is a way to
do this, that would be great. (I thought I read something about the
new matlab release, which I don't have, being equipped with this
capability but I'm not sure).

Thanks again,
Jeff

Stuart McGarrity

unread,
Jun 24, 2004, 4:34:07 PM6/24/04
to
Can't you just set the display block's format to hex?
http://www.mathworks.it/access/helpdesk/help/toolbox/simulink/slref/display.html

Also, with Simulink Fixed Point you can simulate other word lengths:
http://www.mathworks.com/products/simfixed/

Stuart
"Jeff Huston" <hus...@medtronic.com> wrote in message
news:eee12...@webx.raydaftYaTP...

Jeff Huston

unread,
Jun 24, 2004, 4:54:16 PM6/24/04
to
Is that a new feature in the latest release? I have Release 13 and
that option doesn't show up (in the help file you linked to it
mentions it has to be a Stored Integer so I thought maybe that was my
problem, but the format hex option isn't even in the help file that
came with my release).

Thanks,
Jeff

---

Stuart McGarrity

unread,
Jun 24, 2004, 5:13:38 PM6/24/04
to
Oh it may be.

"Jeff Huston" <hus...@medtronic.com> wrote in message

news:eee1...@webx.raydaftYaTP...

0 new messages