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
MathWorks Support Team 2021년 9월 15일
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