Three dots at the end of a line of code

조회 수: 4 (최근 30일)
Matt J
Matt J 2025년 2월 28일
댓글: Matt J 2025년 2월 28일
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