How do I regulate/control S-Functions?

Hello,
I am implementing a water treatment module, microfiltration membrane, in a Level-2 Matlab S-Function. Currently I use the blocks 'SetInputPortSamplingMode', 'Outputs', and 'Derivatives'. In the beginning of Outputs I am initialising one ContState.
Right now I have the problem to regulate my system. I want to initialize a back wash process and a way to pause the treatment unit when it is not needed. I cannot figure out how to implement these.
Any help or recommendation is appreciated. Thank you in advance

Réponses (0)

Cette question est clôturée.

Produits

Question posée :

le 28 Jan 2015

Clôturé :

le 10 Fév 2023

Community Treasure Hunt

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

Start Hunting!

Translated by