functions suddenly connected after restart
이전 댓글 표시
Hey there,
so i got a little problem. All started when my matlab didnt want to stop some calculations. I pressed ctrl+c like an idiot and pressed quit so many times, somehow it didnt work. in the command window some kind of problems wioth "eval" appeared. So i just shut down matlab and reopened it. From this point on my code didnt work anymore...
-All of my functions seem to be connected. Even if "function" and "end" of the specific function are the right places and if i hover over function it tells me where the correct end is, BUT the wight line on the left that embraces functions or loops, doenst stop at ends, but continues all the way down.

Additionally many varriables or indices are colored (or marked) as if they were global variables, but they are definitly not

I was able to "repair" some of my code. Some functions that were connected could be seperated by marking the whole function and align them with ctrl+i. There were aligned correctly before, so ctrl+i didnt change anything but getting rid of the interconnection white lign embrace.
Unfortunatley this does not work for all function, and im not sure what the generell problem is, that leads to this behaviour
My whole code should be attached below.
Many thanks in adavence if someone can help me with this.
Best regards.
채택된 답변
추가 답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Logical에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!