BUG DESCRIPTION:----------------If one passes a tex string for the string property of a text uicontrol and changes it for a new tex string the old value remainsERROR LOG:----------noneHOW TO REPRODUCE THE BUG:-------------------------just execute the following instructionsf=figure();T=uicontrol("parent", f,"style","text","string","$\sqrt{x+1}$","position",[0,200,300,100]);T.string="$\sin(x+3)$";OTHER INFORMATION:------------------A work around can be to set the string property to an empty string before setting it to the new tex string:f=figure();T=uicontrol("parent", f,"style","text","string","$\sqrt{x+1}$","position",[0,200,300,100]);T.string="";T.string="$\sin(x+3)$";
Designs
Child items ...
Show closed items
Linked items 0
Link issues together to show that they're related or that one is blocking others.
Learn more.