Do the following operations in IBM® Rational® Rhapsody® to
prepare the Rational Rhapsody model
for Rational Rhapsody.
About this task
To synchronize a IBM Rational Statemate® model
with Rational Rhapsody,
the Rational Rhapsody model
must have the following characteristics:
- Only one top-level activity
- MicroC profile with only one module
Procedure
- Open the Rational Rhapsody model.
If you want to show Rational Rhapsody animation
in Rational Rhapsody,
be certain to select the GBA option from the Rational Rhapsody MicroC
profile options.
- To set the required properties in Rational Rhapsody before
generating code:
- Open the Rational Rhapsody MicroC
Code Generator.
- Select .
- In the Application Files window, select
both of the Generate Code in a Single File and Generate
Code as Statemate Block items.
- Click OK.
- Generate the C code using the Rational Rhapsody MicroC
Code Generator.
- In the Rational Rhapsody main
interface, select the Files tab and:
- Select a Rational Rhapsody MicroC
code generator profile.
- Select the menu item: .