How to write a simple tlc-file for a *.m s-function

I have a really simple m-file s-function with a start- and output function. I need to use s-functions, because need to have a "initialisation"- and "processing"-phase in my simulation. Therefore, function-blocks wont work here.
But I am stuck at writing the tlc-file for real-time execution of my model. There doesnt exist any usefull examples in the mathworks-documentation or elsewhere in the internet. Is there any example for my problem?

Antworten (0)

Kategorien

Mehr zu Simulink Coder finden Sie in Hilfe-Center und File Exchange

Gefragt:

am 14 Mär. 2017

Community Treasure Hunt

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

Start Hunting!

Translated by