Why sqlwrite not uploading all columns of the Matlab table to database?

조회 수: 1 (최근 30일)
I am trying to upload a table to postgresql database. I have attached the table. I am using
sqlwrite(conn,tablename,data);
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?

채택된 답변

Struggling in MATLAB
Struggling in MATLAB 2022년 8월 26일
This happened because the columns which did not upload has datatype cell. So, if we convert to string we can upload them.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Database Toolbox에 대해 자세히 알아보기

제품


릴리스

R2022a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by