Using Simulink    

Typecasting Parameters

In general, during simulation, Simulink silently converts parameter data types to signal data types (if they differ) when computing block outputs that are a function of an input signal and a parameter. The following exceptions occur to this rule:


  Enabling Strict Boolean Type Checking Working with Data Objects