Patent ID: 7969452

Claim:
A computer-implemented method for modeling a target system using a fixed-point data type in a block diagram modeling environment, the method comprising: executing, using the computer, a block diagram model in the block diagram modeling environment, the block diagram model including a first element that has an output including a fixed-point data type signal and a second element that represents the output; analyzing the output to generate information about the fixed-point data type signal, the information comprising an indication of whether the fixed-point data type signal overflows or underflows; determining, based on the information, that a value of the fixed-point data type signal exceeds a representation boundary of a fixed length buffer allocated for the fixed-point data type signal or that the value of the fixed-point data type signal is too small to be represented with the fixed length buffer allocated for the fixed-point data type signal; and displaying at least one of the first and second elements using a visual cue in a display of the block diagram model to indicate that the fixed length buffer is inappropriate to represent the fixed-point data type signal.