Three dots at the end of a line of code

18 次查看(过去 30 天)
Why does one of my lines of code have three dots enclosed in a box? What does it mean? Clicking on it does nothing.

采纳的回答

Stephen23
Stephen23 2025-2-28
编辑:Stephen23 2025-2-28
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.
  1 个评论
Matt J
Matt J 2025-2-28
Thanks, Stephen. Restarting Matlab cleared it. I didn't get a chance to experiment with your other remedies.

请先登录,再进行评论。

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Functions 的更多信息

产品


版本

R2023b

Community Treasure Hunt

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

Start Hunting!

Translated by