This table shows how different types match between the models. The use of n..n and 0..n multiplicities in the modeling tool is supported but will result in fixed variable sized signals in Simulink.

DDS for MagicDraw

Connext DDS XML

MATLAB Type

Simulink Type

Boolean

boolean

logical

boolean

Byte

byte

uint8

uint8

Char8

char8

uint8

uint8

Char16

char16

Not Supported

Not Supported

Float32

float32

single

single

Float64

float64

double

double

Float128

float128

Not Supported

Not Supported

Int16

int16

int16

int16

Int32

int32

int32

int32

Int64

int64

int64

int64

UInt16

uint16

uint16

uint16

UInt32

uint32

uint32

uin32

UInt64

uint64

uint64

uint64

String8

string

int8

int8

String16

wstring

Not Supported

Not Supported

Enum

enum

MATLAB Enumeration

Simulink.Enum

Union

union

Not Supported

Not Supported

Struct

struct

Matlab struct/class

Simulink.Bus

Map

struct+typedef

Matlab struct/class

Simulink.Bus

Bitmask

enum

MATLAB Enumeration

Simulink.Enum