R2024b Simulink error: Cannot activate configuration set

5 vues (au cours des 30 derniers jours)
Simon
Simon le 20 Juin 2025
Commenté : Simon le 25 Juin 2025
Hello everyone,
I am facing an issue while running a simulation of a model. This model was developed by my colleague, and I am accessing it using GIT. At one point during development, my colleague attempted to create a Custom Target IDE for Code Generation (following this manual: Create Custom Target IDE for Code Generation). However, he later switched to KW-Software MULTIPROG 5.0 and deleted all the files associated with the Custom Target IDE. Now, when I try to run the simulation, this error appears:
Error: Cannot activate configuration set '_TmpModelReferencing'. Caused by: Unrecognized field name "myplcopen".
I have searched through the entire model, Configuration Parameters, Referenced Models and everywhere else I can think of, but I haven't found any reference to the field name "myplcopen" besides in the error message itself.
It might be worth mentioning that my colleague runs the simulation of the model withou any issues.
Please let me know your suggestions.

Réponses (1)

Meet
Meet le 23 Juin 2025
Modifié(e) : Meet le 23 Juin 2025
Hi Simon,
To resolve the 'Unrecognized field name "myplcopen"' error, you likely need to remove residual PLC Coder custom target settings left over from the deleted custom IDE and replace them with a supported target. The following troubleshooting steps (assuming your colleague deleted files but left config settings behind) may help restore the model’s config set to a clean state.
I hope this helps resolve the issue!!
  1 commentaire
Simon
Simon le 25 Juin 2025
Hello Meet,
Fisrt of all, thak you for your answer.
I have tried to change config settings and set it to a different IDEs. However, nothing worked.I have tried to search for "myplcopen" everywhere with no success. Eventually, I downloaded the custom IDE from git and now it workes.
It is quite strange because I don't actually use the custom IDE for PLC code generation. However, apparently, it needs to be present in the path anyway.

Connectez-vous pour commenter.

Catégories

En savoir plus sur Simulink PLC Coder dans Help Center et File Exchange

Produits


Version

R2024b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by