R2024b Simulink error: Cannot activate configuration set

조회 수: 6 (최근 30일)
Simon
Simon 2025년 6월 20일
댓글: Simon 2025년 6월 25일
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.

답변 (1개)

Meet
Meet 2025년 6월 23일
편집: Meet 2025년 6월 23일
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
Simon
Simon 2025년 6월 25일
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.

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Simulink PLC Coder에 대해 자세히 알아보기

제품


릴리스

R2024b

Community Treasure Hunt

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

Start Hunting!

Translated by