Simulink- time of data store

Hi, I have a double in data store memory and I to know it’s time. For example, if I put in the data store the value of sin wave at time of 5 sec from the start of the simulation, I want to output the time - 5. I know I can do it with another data store of a clock but I try to avoid that.

Answers (0)

Categories

Find more on Simulink in Help Center and File Exchange

Asked:

on 7 Aug 2023

Community Treasure Hunt

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

Start Hunting!