GUI: unused function warning
Show older comments
Dear all, quick question on a GUI. Let's say you set up a button that plots a graph once pushed. In the editor you need a function like this:
function pushbutton8_Callback(~, ~, ~)
plot(someVariableElsewhereDefined)
Now, the editor will underline this function in red saying that it is unused.
Is this correct? Is there any way to do the same thing without the same "useless" function?
Thanks!
Accepted Answer
More Answers (0)
Categories
Find more on Debugging and Analysis in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!