GUI: unused function warning
Ältere Kommentare anzeigen
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!
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu Debugging and Analysis finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!