PLC Coder ST generation

1 view (last 30 days)
Joe
Joe on 5 Nov 2012
Can i generate ST using the PLC coder when the model contains a C s-function, this question has been raised but the responce was unclear if it was possible?
  1 Comment
Walter Roberson
Walter Roberson on 5 Nov 2012
(pl coder is a product rather than an issue)

Sign in to comment.

Answers (1)

Bill Chou
Bill Chou on 5 Nov 2012
Hi Joe,
In order to do that, you'd have to C code into Structured Text, and unfortunately it's not currently possible. C code and Structured Text is different in terms of language constructs (not to mention the different "flavors" of Structured Text that different vendors implement in their environment), so it's not a trivial process.
Hope it helps,
Bill Chou MathWorks

Categories

Find more on Simulink PLC Coder in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!