Using Simulink    

Typecasting Signals

Simulink signals an error whenever it detects that a signal is connected to a block that does not accept the signal's data type. If you want to create such a connection, you must explicitly typecast (convert) the signal to a type that the block does accept. You can use Simulink's Data Type Conversion block to perform such conversions (see Data Type Conversion).


 Enabling Strict Boolean Type Checking Typecasting Parameters