Info

이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

MATLAB Preventing Code Folding

조회 수: 1 (최근 30일)
Ephraim Bryski
Ephraim Bryski 2019년 7월 11일
마감: MATLAB Answer Bot 2021년 8월 20일
I'm writing a function which is hundreds of lines long and I need it to fold code in order to write it. However, the function suddenly prevented code folding of any kind. All the code folding preferences are set to on and it is the only function which is preventing me from folding code. Does anyone know why this could happen and how to fix it? Thanks.
  댓글 수: 2
Walter Roberson
Walter Roberson 2019년 7월 11일
That can happen if there is a structure error in your code such as a missing end statement.
Ephraim Bryski
Ephraim Bryski 2019년 7월 11일
Thank you so much! I had two parse errors (an extra end which I added in an attempt to fix the problem and a line which I hadn't finished writing) so it was initially hard to realize what was causing it.

답변 (0개)

태그

Community Treasure Hunt

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

Start Hunting!

Translated by