Back in Nantes
Since we are together with Sodius I have my regular visits to Nantes. Luckily! I really like Nantes and of course my collegues in Nantes. Always big fun and great to see beautiful Nantes.
Simulink
People still use Simulink; I’m always surprised that nobody objects to the fact that it generates code; people use it without thinking. When it’s Rhapsody, millions of objections pop up against Code Generation. Probably, it is because Simulink is used by all kinds of engineers and Rhapsody by Software Engineers who feel attacked in their honor by Rhapsody (That does an excellent job generating code,..)
Now, with the Automotive Extension, there is another way to integrate the two tools: ARXML. That’s a “lightweight” integration; it doesn’t add much. The real benefit comes from co-simulation, and that’s what Andy does in his video. AFAIK that still works (I do not own a Simulink license, I cannot try it)
Resources
Now, I could be explaining here how it works but other people have done that already, way better than I can.
Andy’s (old) video. Explains it really good.
Justin Dyer IBM explaining. A tiny bit newer than Andy’s video.
Frank Braun’s video. Great explaination!
IBM TechXChange Lab (Also by Andy, you need an IBM ID for that)
TechXChange
Coincidently I answered a question on TechXChange, about this, it seems the Library for CygWin is broken:
OK. Not so easy but it works:
Add to your configuration in the “Settings” Tab under: “Link Switches”: "<<UserShare>>/LangCpp/lib/cygwinsimulinkintegrationapplx64.a"
(Replace the <<UserShare>>
with the path to your UserShare directory.)
Then you need to build the Simulink library, the following files need to be placed:
– In the directory <<Share>>\LangCpp\SimulinkIntegration the file cygwinsimulinkintegration.mak
– In the directory <<Share>>\LangCpp\
the file cygwinbuild.mak
Then call “Code” and “Build the Framework” from the menu. there is 1 warning, you can ignore that.
You can also edit sitec++.prp
and add the Cygwin makefilecontent with the changed linker statement. But this works too.











So. That’s it for today! Happy simulinking with Rhapsody!
Walter van der Heiden walter@sodiuswillert.com
Leave a Reply