Incorrect use of '=' operator occurs in grey out area of app designer.

1 回表示 (過去 30 日間)
Yanting Liu
Yanting Liu 2020 年 2 月 18 日
編集済み: Joseph Cheng 2020 年 2 月 18 日
When I tried to run my mlapp file, this warning occurs. Since I was unable to edit any of this grey area, I don't know where does this come from and how to fix it.

回答 (1 件)

Joseph Cheng
Joseph Cheng 2020 年 2 月 18 日
編集済み: Joseph Cheng 2020 年 2 月 18 日
I was unable to create it myself but from the looks of it you might have a function or calculation that isn't terminated correctly in the area you can edit. That woud causing the syntax check to look at that line as incorrect. it probably isn't getting to "compiling" or running it but was doing a syntax check and considering that line as part of user code
Closest i was able to get it was:
note how the incomplete if statement (missing "end") causing it to go and process the gray section

カテゴリ

Help Center および File ExchangeDevelop Apps Using App Designer についてさらに検索

タグ

製品


リリース

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by