-
From the Behavior Tools section of the action bar, click Compare and Merge Modelica Classes
-
In the dialog box, select
the first source class any of the following way:
- To select a class in the session, do the following:
- Click the First source class input box to
select it.
- From the Package Browser, click the class.
- To select a class from the database, do the following:
- From the Compare and Merge Modelica Classes
dialog box, from the first line, click
. The Content Chooser dialog box appears.
- From the top bar, search for the Modelica library that contains the wanted class.
For information on how to search for a Modelica library, see
the search part of Open with Search.
The Search Results
panel appears.
- Use the Content Chooser to select, from the Search Results
panel, the library that contains the wanted class.
The Explore Modelica Library in database
browser appears.
- In this browser, browse for the wanted class and select it.
The first source class is selected.
-
In the dialog box, select
the second source class any of the following ways:
- To select a class in the session, perform, for the second source class,
the corresponding action as in Step 2.
- To select a class from the database, perform, for the second source
class, the corresponding action as in Step 2.
- To select, as the second source class, another version of a class already selected as
the first source class, do the following:
- Select, in the Compare and Merge Modelica
Classes, the first line, the input box with the first
source class already selected.
- From the second line, click
. The Explore Modelica Library
in database browser appears. This browser
displays all different versions in the database of the selected
class.
- In this browser, browse for the wanted class and select it.
The second source class is selected.
- Optional:
To merge the two source classes and store the merge in a third
class, do the following:
-
Make sure that you have created a target class that is loaded
in session.
-
Click the
Target class input box to select it.
-
From the
Package Browser, click the class to select
it.
The target class is selected.
-
To start the comparison tool, click
OK.
You can compare the source models, and if you have selected
a target class, you can use the comparison tool to create a merged class that
is stored in the target class.
|