How to add values in a column of a uitable?
2 次查看(过去 30 天)
显示 更早的评论
Hey guys! Im looking to add my price values in column 3 and display in in the next row under the same column. Like a total of all items. I've tried using 'sum' function but its considering 'sum' as a variable instead. Please help me out! Thank you!
0 个评论
回答(1 个)
Jan
2015-4-14
sum is considered as a variable only if you have created a variable with this name before. So remove the line, which creates "sum" as a variable and restart the code.
It is more useful if you post the relevant part of the code, because there is no connection between the graphic output and the problem.
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Dialog Boxes 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!