필터 지우기
필터 지우기

Error in autogenerated code

조회 수: 4 (최근 30일)
Dennis Premoli
Dennis Premoli 2022년 8월 12일
답변: Dennis Premoli 2022년 8월 23일
Hi,
I'm writing a MATLAB app in which I have inserted a custom component. However (for some reason) the generated code for this components has gone bezerk resulting in an error in autogenerated code you cannot edit. Deleting said component and also resaving the file has not solved much. Kinda out of ideas here. Is my app corrupted because of 1 line of code I cannot edit?
with a
"parse error at '=' "
and
relative to the same component.

채택된 답변

Dennis Premoli
Dennis Premoli 2022년 8월 12일
As it turns out, there was an empty object amrked "app.____" hidden in the UI list on teh left. Once deleted this was fixed. To note is that if you reverse that deletion, teh delete option for teh object is grayed out. In that case, close and reopen app designer.

추가 답변 (1개)

Dennis Premoli
Dennis Premoli 2022년 8월 23일
As it turns out, there was a "app.' ' " component present with no name. This borke a lot of things and lead to component duplication. Matworks technical help kindly fixed my file for me.

카테고리

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

제품


릴리스

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by