MATLAB: Is it possible to stop the Simulink Debugger based on the value of a testpoint in Simulink 6.6 (R2007a)

debugdebuggingsimulink

I would like to see the values of different signals only when one of my signals reaches a certain value. For this purpose, I have added a testpoint on that signal. I now want the Simulink Debugger to break only when this signal reaches that certain value. How can I do this?

Best Answer

The ability to add a breakpoint based on the value of a signal is not available in Simulink 6.6 (R2007a).
To work around the issue, connect the testpointed signal to an Enabled Subsystem and add a breakpoint on a block inside the Enabled Subsystem.