how to write code for integerator block in simulink without using the simulink block ?

hi all,
I want to write a code for integrator block in simulink.Can i replace the block with matlab function file using eulers formula.Please help me on this.I cannot simply use an integrator block in simulink because i am finally using a plc coder to convert the simulink model to plc code which doesnt support integrator block.If there are any other methods please suggest.

类别

在 帮助中心 和 File Exchange 中查找有关 Simulink PLC Coder 的更多信息

提问:

2014-5-22

回答:

2014-5-22

Community Treasure Hunt

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

Start Hunting!

Translated by