Three dots at the end of a line of code
19 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Why does one of my lines of code have three dots enclosed in a box? What does it mean? Clicking on it does nothing.

0 commentaires
Réponse acceptée
Stephen23
le 28 Fév 2025
Modifié(e) : Stephen23
le 28 Fév 2025
Perhaps code folding.
Code folding is stored as meta-information in PREFDIR, much like breakpoints etc. are. Unfortunately sometimes code folding seems to be incorrectly retained/applied/updated/..., then it appears in unexpected places. I have had this occur with breakpoints.
Solution:
Brutal solution: close MATLAB, delete PREFDIR.
The gentler (untested) solution is to close MATLAB, open MATLAB_EDITOR_STATE.XML within PREFDIR, search for the relevant filename, and then delete the complete FOLD_TYPE element for the relevant lines of code.
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Functions 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!