error in gray area of app designer
6 次查看(过去 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
0 个评论
回答(1 个)
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
2020-11-23
Reply to the mail:
I have never seen variable in yellow. Usually, " ! " commands are marked in yellowish color.
See this question, it might be useful https://www.mathworks.com/matlabcentral/answers/474796-how-to-solve-parse-error-at-methods-usage-might-be-invalid-matlab-syntax-matlab-2017b
另请参阅
类别
在 Help Center 和 File 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!