Simulink- time of data store

3 views (last 30 days)
Tamar
Tamar on 7 Aug 2023
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 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!