How do I regulate/control S-Functions?

3 views (last 30 days)
Joel
Joel on 28 Jan 2015
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

Answers (0)

Products

Community Treasure Hunt

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

Start Hunting!