How to convert a returned dataset object to tables

조회 수: 7 (최근 30일)
Karthick Jonagadla
Karthick Jonagadla 2016년 1월 18일
답변: Walter Roberson 2016년 1월 21일
I am using a .Net dll which returns me a dataset which contains 39 tables inside it with multiple columns in table. I am getting the dataset object but how to convert that into a usable data with tables and column names.
  댓글 수: 1
Rebecca Krosnick
Rebecca Krosnick 2016년 1월 20일
Are you creating a C# or Visual Basic application? You will probably need to use the MWArray API. The following links provide examples:
If you can post examples of the output data you are currently receiving and the data type or format you would like to convert it to, that would be helpful.

댓글을 달려면 로그인하십시오.

답변 (1개)

Walter Roberson
Walter Roberson 2016년 1월 21일
If you mean dataset in the sense of the dataset datatype from the Statistics toolbox, then you should use dataset2table() to convert it to a MATLAB table object.

카테고리

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

Community Treasure Hunt

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

Start Hunting!

Translated by