Generate PLC Code (STEP7) of a Fuzzy System

28 views (last 30 days)
Daniel
Daniel on 14 Jan 2026 at 8:12
Commented: Broy on 19 Jan 2026 at 5:52
Hello,
i was trying to generate a PLC Code (STEP7) from a fuzzy system i made with the Fuzzy Logic designer (3 Inputs, 1 Output).
I implemented it in Simulink in a Atomic Subsystem. Everytime i want to generate it, the following alarm comes.
"Code generation subsystem 'untitled/Fuzzy_PFO2' must not be specified in PLC Code Generation > Interface > Externally Defined Blocks."
I don't find the parameter "Externally Defined Blocks" under the Settings "Interface" in the "PLC Code Generation".
I made the Fuzzy System Block inside an Atomic Subsystem. I Attached pictures of everything.
Can someone help me?
Thanks and Best Regards Daniel
  1 Comment
Broy
Broy on 19 Jan 2026 at 5:52
@Daniel, have you checked PLC Code Generation > Identifiers > Externally Defined Identifiers?

Sign in to comment.

Answers (0)

Categories

Find more on Deployment in Help Center and File Exchange

Products


Release

R2025b

Community Treasure Hunt

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

Start Hunting!