How to add values in a column of a uitable?
1 visualizzazione (ultimi 30 giorni)
Mostra commenti meno recenti
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!
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/149019/image.png)
0 Commenti
Risposte (1)
Jan
il 14 Apr 2015
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.
Vedere anche
Categorie
Scopri di più su Scope Variables and Generate Names in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!