Creating UML-to-Real-Time-C++ transformation configurations

To run a transformation, you can create a transformation configuration. A transformation configuration contains the information that the transformation uses to generate the output that you expect. A transformation configuration also contains information that is specific to a particular type of transformation.

About this task

To create a transformation configuration:

Procedure

  1. Depending on the view that you are working in, complete one of the following steps:
    • Click File > New > Transformation Configuration. If Transformation Configuration is not a menu item, click File > New > Other > Transformations > Transformation Configuration.
    • In the Pattern Explorer view, right-click a transformation; then click New Configuration.
  2. In the New Transformation Configuration wizard, on the Specify a Configuration Name and Transformation page, in the Name field, specify a name for the configuration.
  3. From the Forward transformation list, expand UML-RT Transforms and click UML to Real-Time C++.
  4. In the Configuration file destination field, specify the destination for the transformation configuration file. The destination is a relative path in your current workspace. You can specify a fully qualified project name or folder name. If you specify a folder in a project, you must prefix the folder name with a slash (/).
  5. Click Next.
  6. Add a valid UML source object and target for the transformation. You can create a new target code project or browse to an existing code project.
  7. Click Next.
  8. Select a top capsule for the transformation configuration:
    1. On the Properties page, click Select.
    2. Search for or browse to the desired capsule object.
    3. Click OK.
  9. Click Next and complete the pages in the wizard.
  10. Click Finish.

Feedback