How to view private properties of a class in the debugger?

I author a handful of Digital Signal Processing algorithms in System objects (they are very handy indeed). Recently after upgrading to R2025b from R2024a I've hit an annoying snag. Most of the state, etc. of a system object will be in private properties. In prior versions, I could set a breakpoint in the stepImpl for instance and if I clicked on "obj" (the standard internal name for my object handle inside methods), I could see in the variable editor the value of all the properties, not just the externally visible ones. Then, I could step through the algorithm and make sure everything was computing correctly. Now there's no handy way to do this? I tried the class browser but that doesn't readily show the values of the current instance of the class. Why was this critical feature broken?

1 Comment

You'll have to contact official MATLAB support to get an answer to your question:

Sign in to comment.

Answers (0)

Categories

Products

Release

R2025b

Asked:

on 20 Jan 2026

Edited:

on 20 Jan 2026

Community Treasure Hunt

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

Start Hunting!