Documentation Center

  • Trial Software
  • Product Updates

Supported Property Types

If you add properties to a subclass of Simulink.Parameter, Simulink.Signal, or Simulink.CustomStorageClassAttributes, you can specify the following property types.

Property TypeSyntax
Double numberproperties(PropertyType = 'double scalar')
int32 numberproperties(PropertyType = 'int32 scalar')
Logical numberproperties(PropertyType = 'logical scalar')
String (char)properties(PropertyType = 'char')
String with limited set of allowed valuesproperties(PropertyType = 'char', AllowedValues = {'a', 'b', 'c'})

Was this topic helpful?