I don't have a lot of experience with this, but I believe this should be possible in Simulink using theFixed-Point Tool.
In MATLAB, it looks like you need theLOWERBOUND andUPPERBOUND functions to find the min/max for a fixed-point type. Not sure how you can do the converse, but it might be worth looking at theFixed-Point Functions reference to see if you can find anything useful.
Best Answer