App designer error message

조회 수: 4 (최근 30일)
Jass Deol
Jass Deol 2022년 5월 28일
답변: Image Analyst 2022년 5월 29일
I'm getting error message: "Invalid expression. Check for missing multiplication operator, missing or unbalanced delimiters, or other syntax error. To construct matrices, use brackets instead of parentheses." for this part of the uneditable code. I'm using version 2021b.
Does someone know how to fix this? Thanks.
  댓글 수: 1
dpb
dpb 2022년 5월 29일
The actual error is probably a missing close brace or parentheses or string delimiter in the user code before this -- the parser keeps on going until it either finds the needed closing punctuation or until it finally errors. Unfortunately, the error the finally pops up is often not very informative as to the root cause because it can't always detect what was intended and left out. There are undoubtedly other red line indicatiors in the editor ahead of this...

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

답변 (1개)

Image Analyst
Image Analyst 2022년 5월 29일
You need a classdef line before that. You're probably missing that.

카테고리

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

태그

Community Treasure Hunt

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

Start Hunting!

Translated by