set(handles.Low,'String',Low
Infos
Cette question est clôturée. Rouvrir pour modifier ou répondre.
Afficher commentaires plus anciens
i am a newbie at Matlab. I am trying to run a code but there is a code line (set(handles.Low,'String',Low)) which gives INVALID OR DELETED OBJECT error. any solutions?
Réponses (1)
Mehmed Saad
le 9 Avr 2020
Modifié(e) : Mehmed Saad
le 9 Avr 2020
0 votes
Your figure (or gui) is closed that's why this error occured
It looks like you have some text type object on figure like title,xlabels,ylabels, ...etc
what you are trying to do is setting the textproperty 'string' equal to variable low but when MATLAB tries to access the object whose handle is passed to it, it didn't find any thing so it gives you that error.
3 commentaires
Sardar Jaffar Ali
le 27 Avr 2020
Mehmed Saad
le 28 Avr 2020
donot close it before this line
(set(handles.Low,'String',Low))
Sardar Jaffar Ali
le 29 Avr 2020
Cette question est clôturée.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!