Samplin rate or Sampling period variable

2 views (last 30 days)
Dear all
I hope this finds you well. Is there a way to refer to the model sample rate in a block? What I am trying to do is to specify the length of a delay line which will depend on some parameters as well as the sample rate. Rather than having to change all the time the formula which derives the length of the delay every time the sample rate changes, I would like to use a variable, like fs or ts (the sampling period).
Thank you and Kind regards

Answers (0)

Categories

Find more on Simulink in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!