Determine number of steps in a specific frequency cycle
I have a simulink model that outputs a continous step count at a constant rate. However, I would like to add a bit of code that inputs the step count and outputs the total number of steps taken in 1 second. I tried using a triggered subsystem that uses a pulse generator block, to no avail. Any help is greatly appreciated.I have a simulink model that outputs a continous step count at a constant rate. However, I would like to add a bit of code that inputs the step count and outputs the total number of steps taken in 1 second. I tried using a triggered subsystem that uses a pulse generator block, to no avail. Any help is greatly appreciated. I have a simulink model that outputs a continous step count at a constant rate. However, I would like to add a bit of code that inputs the step count and outputs the total number of steps taken in 1 second. I tried using a triggered subsystem that uses a pulse generator block, to no avail. Any help is greatly appreciated. simulink, discrete, time MATLAB Answers — New Questions