PLC Coder ST generation
1 view (last 30 days)
Show older comments
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
on 5 Nov 2012
Please use better tags for this question; see http://www.mathworks.co.uk/matlabcentral/answers/43073-a-guide-to-tags
(pl coder is a product rather than an issue)
Answers (1)
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
0 Comments
See Also
Categories
Find more on Simulink PLC Coder in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!