There are four numeric scalar types: complex, fixed-point, double precision floating-point, and integer.
All of these four types can be read from and written to ports as described in Reading Inputs and Writing Outputs. The floating-point and integer data types are based on the standard C++ double and int types, and need no further explanation. To support the other two types, the MLDesigner kernel contains a Complex and a Fix class, which are described in this section.