How to instantiate Simulink.Clock

Hi,
I have a MATLAB function block in Simulink and I with to have a clock inside the scope of the function which I can reset according to some input. I try instantiating an Simulink.Clock() but I get like "Not enough input arguments" or "Invalid destination block specification".
I couldn't find anything online regarding Simulink.Clock.
Can someone help me please?

Answers (0)

Categories

Find more on Simulink in Help Center and File Exchange

Products

Asked:

on 9 Jun 2018

Community Treasure Hunt

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

Start Hunting!