Tag: music

Using MatLab Simulink with Rhapsody

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

Barcelonaaaaa ( & Rhapsody 10 )

Travel is entirely back now. COVID is over. Well, it’s still there, but nobody cares anymore. So after the worldwide TechXChange in @#$%^&* Las Vegas ( See “I hate Las Vegas“), it was now the European version held in Barcelona.
I’ve been to Barcelona before (incidentally, that was where I got my own COVID infection…). I really like that city; it has beautiful architecture, a nice buzz, great food, and much, much more.

So I went to my second home (Schiphol Airport) by train, checked in, did the security check, and then went straight to the KLM Crown Lounge. I’m a luxury traveler; I have had a KLM Platinum badge for five years (and counting), which is so cool. It makes traveling (almost) bearable..

The flight was as it should be: quiet and fast. It takes only 2 hours from gate to gate. Love that. Then, the Uber to the hotel. We live in a beautiful time. The only thing I used was my phone. Everything I needed was there, and I did it on the phone. I booked the flight with the KLM App, Called Uber with the Uber App, and booked the hotel with the Hilton App. I checked the locations with maps; the IBM App had my entry ticket. The only thing you need is, of course, the phone and enough battery… And sometimes a connection. But that is only a problem in Germany; it all worked fine in Barcelona.

The venue was on a great location, near the sea, next to one of the recommended hotels. I wasn’t in that hotel, I booked too late. But I don’t mind a small ride in the morning/evening.

As in Vegas, there was also a sandbox where partners and IBM had booths and the Champions Lounge. Yes, I have been an IBM Champion for 4 years now! It’s like being KLM Platinum but even better!
Champions are treated as kings by IBM! Front-row seats and people who do nothing else than care for our wellbeing. Thanks Libby, Cathryn, Amy and all others!

Unfortunately there was not much ELM, most was, “the ol’ Hardware” I learned that Mainframes are not dead, on the contrary! One of the things I started with after I graduated was the IBM AS/400, now SystemZ. Still cool stuff. I also learned there are “open source” Mainframes.

Some small items were there on ELM, there was a small item about Rhapsody, the new version was coming. And loo and behold: on February 29, 2024 Rhapsody 10 was officially released!!!!

What is new: Actually all is new… The GUI is changed and therefor all under the hood needed a thorough make-over. And the IBM boys and girls did the magic, just like on the TV make-over programs for houses or people: the result is stunning.
Here is the official IBM “WhatIsNew“.
Soon I get back to you guys with more news about Rhapsody 10!

Also new is the HarmonyMBE profile. Yes that is our work, Andy made that and it’s part of Rhapsody! We have a BLOG about it, we will fill that with more information soon.

So. Have fun with Rhapsody (10, but also with the older versions)

Walter (wvdheiden@sodiuswillert.com)

© 2025 Rhapsody TechBlog

Theme by Anders NorenUp ↑