Versions Compared

Key

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

...

  • Rhapsody 8.4 installed correctly on his or her machine with a valid license for use,.

  • Syndeia 3.3 installed as a plugin for Rhapsody 8.4 with a valid license for use,.

  • Syndeia Simulink interface, correctly installed with a valid license for use,.

  • MATLAB/Simulink R2019b or later installed correctly on his or her machine with a valid license for use.

  • In this tutorial, we will use the Rhapsody SysML model available as Syndeia_Simulink_Examples_Rhapsody.zip

1a. Drag and drop a single SysML requirement to a folder in Simulink.

Steps areThe steps are for this exercise are as follows.

1 Open Syndeia Simulink Examples.zip in Rhapsody.

2 Observe the Requirements Locate the Model Generation Package::Requirement_Sim Package.

3 Launch Syndeia Dashboard from Requirement Packagethe Model Generation package.

...

5

4 In the Connection Manager tab of Syndeia Dashboard in , select SysML Repository and SimulinkReqts folderwhich is local for this example is displayed. Local Simulink folder of your choice can be chosen as wellon the LHS and a folder in your local file system on RHS, eg. SimulinkReqts folder.

...

6 5 Select a Single Requirement single requirement Autonomous Flight and drag and drop to folder S1a as shown above. Select Model Transform. Select Yes.

7 6 Observe the newly created Simulink Requirement and rightAutonomous Flight in Simulink. Right-click and select Open to Launch Simulink Requirements from Syndeiaand view the requirements.

...

8 7 In Connections Search this connection is generated9 Open in Simulink this requirement Autonomous Flight is displayed in the selected folderthe Connection Search tab, Click the Get All button. The connections generated between the SysML requirements and Simulink requirements in the previous step can now be seen.

8 Open in Simulink, the requirement Autonomous Flight can now be seen in Simulink, as shown below.

...

...

1b: Drag and drop a single SysML requirement with multiple levels of nested requirements to a folder.

Steps areThe steps for this exercise are as follows.

1 Select the single Payload Mass with requirement as shown in the figure below. It has two nested requirements.

2 Drag and Drop drop to Folder folder S1b in the SimulinkReqts folder on the local machine. Select Model Transform. Select Yes.

...

3 In Connections Manager, it shows connections generated .4 In Simulink, this appears asthe Connection Search tab, Click the Get All button. The connections generated between the SysML requirements and Simulink requirements in the previous step can now be seen.

4 Open in Simulink, the requirement Payload Mass and the two nested requirements can now be seen in Simulink, as shown below.

...

1c (Multiple DnD): Drag and drop multiple SysML requirements and drop to a folder

Steps are1 Select Multiple Requirements from SysML Package Requirements The steps for this exercise are as follows.

1 Select all the requirements in the Requirement_Sim package, and drag and drop it to S1c package of the local folderthem to a folder in your local file system, e.g. folder S1c as shown below. Select Model Transform. Select Yes.

...

2 In Connections Search connections are generated as shown3 In Simulink, this appears asthe Connection Search tab, Click the Get All button. The connections generated between the SysML requirements and Simulink requirements in the previous step can now be seen.

3 Open the Simulink requirements model in Simulink, as shown below to see all requirements.

...

1d: Drag and drop a SysML package and drop to a folder

...

The steps for this exercise are as follows.

1 Select the Model Generation:: Requirement_Sim from SysML Rhapsody to S1d folder on local machine in Simulink Requirements as belowin SysML Model and drag and drop the package in your local file system, e.g. folder S1d as shown below. Select Model Transform. Select Yes.

...

2 In Syndeia new connections are created in Connections Managerthe Connection Search tab, Click the Get All button. The connections generated between the SysML requirements and Simulink requirements in the previous step can now be seen.

3 In Simulink, this creates a new requirement set as a Requirement_Sim is generated and is as shown below.

...