This happened because the columns which did not upload has datatype cell. So, if we convert to string we can upload them.
Why sqlwrite not uploading all columns of the Matlab table to database?
2 views (last 30 days)
Show older comments
Struggling in MATLAB on 25 Aug 2022
Answered: Struggling in MATLAB on 26 Aug 2022
I am trying to upload a table to postgresql database. I have attached the table. I am using
But when I upload it on the database and fetch it to Matlab workspace it shows only 4 columns instead of 10. I have attached the databasetable for your review. Can anyone help me to solve this?
More Answers (0)
Find more on Database Toolbox in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!