Why can't I enable the "treat as atomic unit"? To use the PLC coder generator.
15 次查看(过去 30 天)
显示 更早的评论
Why can't I enable the "treat as atomic unit" to generate PLC coder after I created an enable subsystem in simulink?
I want to generate plc code from the enable subsystem from plclib, but the treat as atomic unit is displaying grey with default selected "treat as atomic unit", and that subsystem is unable to generate PLC code. Please help me
0 个评论
回答(1 个)
Bill Chou
2014-7-7
Hi Yunxiang,
Which version of MATLAB/Simulink do you have?
You may need to create a (virtual) subsystem around your enabled subsystem first (select an area around the enabled subsystem, right-click, and "create subsystem from selection") before you can make the subsystem atomic.
Try it and let us know if that works.
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!