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.
我正在使用 UITABLE 来显示一些数据。显示表格后,我想在命令窗口中以矩阵形式获取数据进行计算并再次以表格形式显示结果。任何1请。帮我..
创建表时,获取其句柄:
hTable = uitable(...,'Data', dat,...);
进行更改。取回数据:
dat = get(hTable,'Data');
做一些计算,生成新数据。更新表格:
set(hTable,'Data',dat);