I am using bus assignment block to replace one of the signal in a bus. The input port of the bus assignment block is connected to switch block where the data type of the switch block output is set to uint8. But the bus assignement block converts it automatically to double. This causes a problem because later in the model a uint8 signal is expected. I don't know how to prevent this.