Display script comment as contents in MATLAB "Script Editor", instead of "Current Folder" script overview
조회 수: 7 (최근 30일)
이전 댓글 표시
The purpose is to view, check, click and link to script lines, with comment label by %%.
In "Current Folder", when a *.m script file is selected, this overview shown on the bottom of the current folder view section realizes what I need. I call the comments labeled by %% as "key comments".
But whenever I have some changes, and save the script, this key comments overview is refreshed and jumped back to the top. This becomes inconvenience when I have a lot of key comments, and when I am editing bottom part of my script. Every time I save the script, the overview jumps back to top, and I have to scroll down and look for my editing part labeled by the corresponding key comment.
I am guessing this overview in the current folder section was not primarily deisgned for my usage case. Is there an alternative way to show and linked to the key comments in my script?
Picture #1: key comment overview in current folder descriptiong
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1695046/image.png)
Picture #2: ok case, before script (with changes) is saved
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1695051/image.png)
Picture #3: NOK case, after I save the script
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1695056/image.png)
Thanks and best regards,
Zheng
댓글 수: 0
답변 (1개)
Cris LaPierre
2024년 5월 15일
I suggest submitting your suggestion/feedback here: https://www.mathworks.com/support/contact_us.html
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Whos에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!