Alternatives to 'For Each subsystem' that are compatible for PLC Code generation

3 ビュー (過去 30 日間)
Dolf
Dolf 2023 年 10 月 25 日
回答済み: Dolf 2023 年 11 月 16 日
Hello all,
For a project, I am making use of the For Each subsystem in my Simulink model. I have a set of values for one of the input variables of the block and the goal is to have Simulink generate a set of outputs for each input value and then select the 'worst case' output values.
The For Each subsystem works great for this purpose, but unfortunately the PLC Coder cannot convert it. The target IDE is 3S CoDeSys 3.5
Is there a not too difficult workaround that enables the model to be converted to PLC Code while retaining functionality?

採用された回答

Dolf
Dolf 2023 年 11 月 16 日
Problem has been solved by updating to Matlab R2023a. The new code generator is compatible with the ForEach subsystem.

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangePLC Code Generation Basics についてさらに検索

製品


リリース

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by