When custom programming an RTMaps component (Python/C++), we get the option to set properties to “configurable during execution”. But for components generated via the Simulink Target Link Coder, it seems no property has that enabled.
Is there a way to get that ability for properties generated via the Simulink TLC as well?
Thanks for pointing this out. This wasn’t possible.
I added that feature on the new release (RTMaps TLC 2.7.0 in the RTMaps Mathworks 3.21.0 package available on our update site).
Newly generated components have now the model parameter properties set to “configurable during execution”.
As a side note, the main feature of this new version is the multiple instanciation of a generated component. Previously, since global variables were generated, only one component per package could be on a diagram. This version uses the reusable code option and no longer has this limitation.
Thanks a lot for the updates. I updated the RTMaps Mathworks package for Ubuntu 22.04 and gave this a try, but the build seems to fail due a missing ParameterMemberVisibility parameter.
I’m wondering it this is due to some setting in the TLC / Coder app being wrong or something else. Unfortunately since our RTMaps Mathworks package is updated, we cannot build new or old models due to this issue.
That’s interesting. This parameter is set in this update, and worked on my test with all Simulink versions from R2016a to R2025a. I didn’t test Ubuntu 22.04, maybe it’s different on this platform. I will take a look.
Can you confirm your Simulink version?
It is Simulink 2023b
An interesting observation I made is that it’s seems to be an issue on “existing models”. I took one of our models and copy pasted all of it’s content into a new blank model. This new model builds just fine, but the old slx model file runs into the issue I described.
Can you try “resetting” the code generation options on your existing models?
In the “Model Configuration Parameters” window, under the “Code Generation” left menu item, in the “System target file” field, click “Browse”, select another TLC file, click “Apply”, and select “rtmaps.tlc” again, click “Apply” and “Ok”.
This should set the missing parameter.