Matlab R2023b App designer bug? Code view only shows half of the codes and I can't edit the hidden ones

조회 수: 12 (최근 30일)
The app was originally written in R2022a, then auto updated in R2023a, and then in R2023b. I can run the app in R2023b with no problem. However, now I need to change some of my functions in the app due to the updated file format. However, I can't fully unfold the code now. As the picture below shows, the code before line 1847 is hidden.
I tired folding and then unfolding, but no success. I tried clicking on code browser or "go to" by right click, but the code view won't show the hidden codes. I tried searching to locate the function and then editing it, but the app designer will just give no response and I had to end task by task manager. I tried right clicking the function used in later and "open XXX function", and yes it will show the code, but as soon as I type anything, the code view will again fold itself and I can't see those codes.
I have never met this issue in 2022a or 2023a. Is it a new bug? How can I solve it?

채택된 답변

Cris LaPierre
Cris LaPierre 2023년 11월 6일
  댓글 수: 3
Allen
Allen 2023년 12월 16일
I too am experiencing this issue. I had witnessed this behavior in earlier versions of MATLAB while using the application manager, but had been able to correct the issue by closing and then reopening AppDesigner and/or toggling between collapsed/uncollapsed near the problem lines. However, more recently in MATLAB R2023b I have run into an instance where the work arounds are not helpful and I am unable to access portions of my code.
MATLAB Version: 23.2.0.2428915 (R2023b) Update 4

댓글을 달려면 로그인하십시오.

추가 답변 (1개)

Steffen
Steffen 2024년 1월 4일
편집: Steffen 2024년 1월 4일
I experienced the same issue but could fix it by clicking on the button "Expand All" in the "View" Tab of Matlab App Designer.
  댓글 수: 1
Jeffrey Warner
Jeffrey Warner 2024년 3월 9일
thank you. I had this same issue. Restarted my computer once and it resolved it. Subsequent times it happened, that did not fix it. I never knew this tab existed or its purpose. This resolved my issue.

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Develop Apps Using App Designer에 대해 자세히 알아보기

태그

제품


릴리스

R2023b

Community Treasure Hunt

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

Start Hunting!

Translated by