Returned format of Database Toolbox is inconsistent on different machines

1 次查看(过去 30 天)
I am running the same MATLAB script on two Windows machine to fetch data from my database. The return format is "cell" on one machine and "table" on another. I am using MATLAB R2018a on both machines.

采纳的回答

MathWorks Support Team
MATLAB R2018a was the last release to use the 'DataReturnFormat' preference to determine what data type the 'fetch' method returns. You should be able to find this preference in the MATLAB Preferences panel.
Another function that could be useful in MATLAB R2018a is the "setdbprefs", please refer to the link below for detailed information:

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Database Toolbox 的更多信息

产品


版本

R2018a

Community Treasure Hunt

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

Start Hunting!

Translated by