Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Create a SysML block or activity, and assign it the Simulink_Library_Block stereotype available in the Syndeia profile
  2. Add a value property (for SysML blocks) or property local tag (for SysML activities in Rhapsody) called name and typed by the String value type. The default value of this property must be the exact name of the Simulink library block in the Simulink library. Activity models in Rhapsody are not allowed to have properties. Use local tags instead.
  3. Similarly, you may add other properties as required when using the Simulink library blocks, e.g. Add block uses a property Input with value ++ to indicate addition of two input arguments.
  4. Define flow with primitive value types (Real, Integer, Boolean) to represent the inputs and output of a Simulink library block.
  5. The input and output ports must be numbered in ascending alphanumeric manner, ending with numbers 1, 2, 3, and so on. For example, input ports on a Simulink library block must be named in1, in2, in3, etc. and output ports on a Simulink library block must be named out1, out2, out3, etc.

...