error in gray area of app designer

13 次查看(过去 30 天)
My app suddenly is giving an error (see below) in the gray code. I can not change the gray ares so how do I fix it?
Thank you Paul Mulqueen
methods is underlined in red. The erroe is Line 178 Parse error at methods usage might be invalid in MATLAB syntax.
% Callbacks that handle component events
methods (Access = private)
% Cell edit callback: UITable
function UITableCellEdit(app, event)
end

回答(1 个)

Mario Malic
Mario Malic 2020-11-23
Hello,
You can't change grey area, check if you're missing an end somewhere in your code.
  2 个评论
Mario Malic
Mario Malic 2020-11-23
Reply to the mail:
I have never seen variable in yellow. Usually, " ! " commands are marked in yellowish color.
paul mulqueen
paul mulqueen 2020-11-26
I needed to comment out a function to fix it. The end statements were fine. I gave up on app designer and quickly built what I needed in Excel. I just use MatLab for the math part.

请先登录,再进行评论。

类别

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