While Adding two matrix using App Designer, I am getting this error "Undefined function 'Plus' for input arguments of type 'table' "?
1 view (last 30 days)
Show older comments
naresh bhimchand
on 25 Jan 2021
Commented: naresh bhimchand
on 25 Jan 2021
I used Matlab App designer in order to add two matrix but while adding it, i am getting this error and someone please help me to solve this problem.
0 Comments
Accepted Answer
Walter Roberson
on 25 Jan 2021
When you readtable you should not assume that all of the entries are numeric, or that all of the variables are present in both tables and in the same order, or that the tables have the same name of rows.
After you have validated and normalized the two tables, table2array and add and array2table the results. When you convert back to table form you will need to decide on appropriate variable names.
If you are sure that everything is numeric and same order.... then perhaps you should be using readmatrix instead of readtable.
More Answers (0)
See Also
Categories
Find more on Develop Apps Using App Designer in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!