PLC Coder ST generation

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

(pl coder is a product rather than an issue)

Sign in to comment.

Answers (1)

Bill Chou
Bill Chou on 5 Nov 2012

0 votes

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

Asked:

Joe
on 5 Nov 2012

Community Treasure Hunt

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

Start Hunting!