Finding function calls in my code using the Profiler

20 vues (au cours des 30 derniers jours)
Xymbu
Xymbu le 14 Mar 2022
Commenté : Xymbu le 14 Mar 2022
I'm using the profiler and am trying to figure out if there is a way to identify in my own code where the components in the profiler are being called.
For example. I get the component in the attached picture I cant find where my code is calling that though.

Réponse acceptée

Steven Lord
Steven Lord le 14 Mar 2022
Click on the name of the function. It's a link that will bring up the page for that function. I'm not 100% sure if property access methods (like the function in your picture) will list anything in the Parents section of their page in the Profiler (see "Investigate Functions and Individual Code Lines" on this documentation page and you'll see the "Parents (calling functions)" section) but if they do it should indicate where that object property is being set.
  1 commentaire
Xymbu
Xymbu le 14 Mar 2022
Thank you this is what I was looking for.

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Environment and Settings dans Help Center et File Exchange

Produits


Version

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by