|
Since this is an old post, I'm not sure if you have figured it out or abandoned it yet, but in case anyone is in the same boat. In the object you created to encapsulate the Simulink model (i.e. the one with the SimulinkBlock stereotype) there is a tag "SimulinkCodeDir." This has the absolute path in the Value for this tag. If you change this value, the absolute path goes away. There are two unfortunate things though. 1) The path to your RTW code must start at the root of your component's path. Rhapsody doesn't seem to be smart enough to understand "..\" to move up. 2) The value in this tag seems to get changed anytime you import the model so whenever you import it, you have to go back to the tag, double-click on it, and then change the value. I'm using version 7.5 and the MicroC framework.
|