See the Simulink section in the table here. To learn more, refer to the Syndeia Tutorials document.
Additional notes related to Syndeia – Simulink connection are provided below.
Defining a Simulink library block in SysML
Follow the general rules below to define a Simulink library block in SysML.
- Create a SysML block or activity, and assign it the Simulink_Library_Block stereotype available in the Syndeia profile
- Add a value property (for SysML blocks) or property (for SysML activities) 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.
- 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.
- Define flow with primitive value types (Real, Integer, Boolean) to represent the inputs and output of a Simulink library block.
- 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.
Rules and Limitations
Syndeia’s SysML-Simulink capabilities have the following rules and limitations. Several of these are due to inherent modeling restrictions in Simulink.
...
- If the direction of a port / activity parameter node (APN) / pin is IN or OUT, then that direction will be used. If the direction of the flow properties typing that port / APN / pin contradicts the direction of the port / APN / pin, Syndeia will show a warning message in the log window.
- If the direction of a port / APN / pin is INOUT or not specified/null, Syndeia will use the flow property direction(s). If port / APN / pin direction is INOUT, Syndeia will show a warning.
- If the flow properties are null / mixed directions / INOUT in the case of item 2 above, Syndeia will show a warning AND ignore the port / APN / pin.
...
allowable drag-n-drop operations here: Drag-n-drop operations for Local File System Repositories.
Learn more in the sections below.
Page Tree | ||||
---|---|---|---|---|
|