Finding Where a Variable Is Defined
11 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
I am browsing Matlab source code from one of the toolboxes and I am trying to find where a variable is defined in the toolbox. Is there a quick way within the editor to tell the editor "jump to definition" as I can in other code editors? This would be useful for user generated code as well.
Thanks
0 commentaires
Réponse acceptée
Sean de Wolski
le 5 Jan 2016
If you click on a variable in the editor, the right hand side will show gray lines for all instances of it. Click on the top one.
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Variables dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!