How can I create a block that can vary its numerical data within certain limits?

Hi, I want to create a simulink block. I need this block to change its numerical content within the upper and lower limits entered by the user by incrementing itself. Is it possible?

 Accepted Answer

Use a constant block with value set to your increment, connected to a discrete transfer function block 1/(z-1). connect the transfer function to a saturation block to fix the upper and lower limits.

More Answers (0)

Categories

Find more on Modeling in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!