What do TzL & TzR mean in Simulink Debugger ?

7 views (last 30 days)
Sisi Di
Sisi Di on 24 Feb 2017
Commented: creepydog on 9 Apr 2024 at 14:08
When I debugged my model in the Simulink debugger, I came across such information.I don't know what are Tzl and TzR short for, when the help document only explains "Tm" condition.
I sincerely appreciate your help.

Answers (1)

creepydog
creepydog on 22 Jun 2020
I've seen these when debugging zero-crossings. So "z" might mean "zero-crossing", "L" and "R" might be "left" (before) and "right" (after), i.e. two timesteps bracketing the zero-crossing. I couldn't find any documentation on that, either. Just my guesses.
Some more info about Zero-Crossing Detection, see https://de.mathworks.com/help/simulink/ug/zero-crossing-detection.html
  1 Comment
creepydog
creepydog on 9 Apr 2024 at 14:08
Accidently found something (R2023b): While in "sldebug" mode, enter "help" at the command prompt. The help shown mentions: "Time is displayed as: [...] TzL= <time while in major step just before (at left post of) zero crossing> [...] TzR= <time while in major step at or just after (at right post of) zero crossing>".

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!