MATLAB Answers

error in gray area of app designer

2 views (last 30 days)
paul mulqueen
paul mulqueen on 23 Nov 2020
Commented: paul mulqueen on 26 Nov 2020
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 Comments

Sign in to comment.

Answers (1)

Mario Malic
Mario Malic on 23 Nov 2020
Hello,
You can't change grey area, check if you're missing an end somewhere in your code.

  2 Comments

Mario Malic
Mario Malic on 23 Nov 2020
Reply to the mail:
I have never seen variable in yellow. Usually, " ! " commands are marked in yellowish color.
paul mulqueen
paul mulqueen on 26 Nov 2020
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.

Sign in to comment.

Categories

Products

Community Treasure Hunt

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

Start Hunting!