App designer break points doesnt work

조회 수: 29 (최근 30일)
Melih Furkan SEN
Melih Furkan SEN 2023년 8월 8일
댓글: Ben Abbott 2024년 8월 5일
I designed GUI via appdesigner. I copied that app to another computer. Both computer has same matlab 2023a version. Everything is same. But in another computer I can not set break points in appdesigner . Why that happen? Code is same, not different, same file.
  댓글 수: 6
dpb
dpb 2023년 8월 13일
"..., the app acts like "only creator can set breakpoint""
What does that mean? Are you getting an error message of some sort that has such a phrase in it? Post graphic of it, if so.
That sounds like an issue of an OS protections being set that some file location can't be accessed or somesuch. A <recent Q? here on a file access error> turned out to be caused by a symlink pointing to the file; any chance there are such in the install directories or at the location of the .mlapp file on the wayward system?
You probably will have to submit this to official TMW support to resolve; it simply can't be diagnosed remotely without more details than we have.
Melih Furkan SEN
Melih Furkan SEN 2023년 12월 28일
I dont get an error.
I just simply can't set break points because its greyed out.
In computer that I created the app, I can set break points.
I copy same file to different computer which has same Matlab 2023 version , I can not set breakpoint in app. Its greyed out

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

채택된 답변

Melih Furkan SEN
Melih Furkan SEN 2024년 4월 22일
I have found solution.
you press "ctrl + s" multiple times and break point gets fixed

추가 답변 (1개)

Dan Harris
Dan Harris 2023년 12월 1일
Not sure this is your issue, but I had a very similar issue. I copied via github clone from one machine to another with different matlab versions 2023a to 2021b. I got the same error about unsynced versions because MATLAB had to make changes to make the .mlapp work on 2021b. To solve this issue I had to saveas "new file name", then saveas "old file name". A simple save or ctrl+s wasn't cutting it. Once I overwritten the old file, I was able to break in the .mlapp code again on the new machine.
  댓글 수: 2
Melih Furkan SEN
Melih Furkan SEN 2023년 12월 28일
So you did "save as " twice? I tried and didnt solve. Also both computer have same version of matlab
Ben Abbott
Ben Abbott 2024년 8월 5일
@Dan Harris, your suggestion worked for me. However, for me, the problem did not coincide with a version upgrade/downgrade.

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

카테고리

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

제품


릴리스

R2023a

Community Treasure Hunt

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

Start Hunting!

Translated by