R2024b Simulink error: Cannot activate configuration set

6 visualizaciones (últimos 30 días)
Simon
Simon el 20 de Jun. de 2025
Comentada: Simon el 25 de Jun. de 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.

Respuestas (1)

Meet
Meet el 23 de Jun. de 2025
Editada: Meet el 23 de Jun. de 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 comentario
Simon
Simon el 25 de Jun. de 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.

Iniciar sesión para comentar.

Categorías

Más información sobre Simulink PLC Coder en Help Center y File Exchange.

Productos


Versión

R2024b

Community Treasure Hunt

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

Start Hunting!

Translated by