![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/173154/image.png)
My EDITOR tab is disabled.
조회 수: 25 (최근 30일)
이전 댓글 표시
When I running my m file, and I break it to run line by line. I don't why my Step button (F10), step in, step out, and also Quit debugging are disabled. How can I turn it on?
댓글 수: 0
채택된 답변
Sean de Wolski
2016년 3월 2일
You need to be in debug mode. Put a break point on the line and then run the file. NOTE You can not debug sections so you will need to run the file with Run button or by calling the filename.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/173154/image.png)
댓글 수: 0
추가 답변 (10개)
Andreas Georgiou
2016년 10월 25일
Hello Teeratorn Kadeethum
I have a similar problem. When I terminate a script with CTRL+C all Matlab Run commands are grayed out. This can be sorted out if you close your script and reopen it. It seems to be a Matlab bug to me... Tried F5, return, dbcont or dbquit but nothing seems to work. The fact that you have to close the script and reopen it makes me think that is something to do with Matlab not realising that the script has ended.
댓글 수: 0
Cynthia Waltho
2017년 3월 9일
I am having the same issue. On my lab computer (at school), when I try to debug a function (run and stop at a breakpoint) all progression buttons are grayed, meaning I cannot step through or stop the debugging. All I can do is "Run to Cursor" which is very frustrating. This computer has MatlabR2015b and MatlabR2015a installed on it, and this issue exists in both.
On my personal computer Matlab runs perfectly. So whats going on? Are there permission issues? Please help!
댓글 수: 0
Mojtaba Moravej
2019년 4월 4일
I had the same issue. my script calls and runs some functions which I wrote in different matlab files. I just ran another script which was for the test and the problem solved. also, reopening it works.
댓글 수: 0
Joost R
2021년 6월 1일
I had the same issue. I think I solved it by repairing my pathdef, which was corrupted (there was a rogue newline in the p-array).
댓글 수: 0
amit sason
2023년 5월 7일
it happened to me too, it turns out that the keyboard function lock was turned on.
To disable it try pressing Fn+Esc and then try using the F buttons.
It solved the problem for me!
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Software Development Tools에 대해 자세히 알아보기
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!