Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
有没有办法像你一样在matlab gui中清除uitable的内容
cla(handles.axes1) % 用于清除轴。
我不想删除uitable,只需要清除数据。
您可以删除数据:
t = uitable; % or however you initialize it set(t,'Data',[])
或者只是让它不可见,数据等仍然在桌子上
set(t,'Visible','off')
你可能想要第一个,但我想我会提供两个。