How to update a variable in a function after every 5 seconds?
8 views (last 30 days)
Birdman on 7 Apr 2020
Run the attached model and see the results. You can change the Ramp block's Slope value and store different numbers. Output of the MATLAB Function block stores dynamically the values at every 5 seconds.