필터 지우기
필터 지우기

Convert Matlab cell to C# Array

조회 수: 7 (최근 30일)
Robot
Robot 2018년 12월 14일
I am a .NET novice, and I would like to send a Matlab table to .NET.
Example Matlab code is here:
function [outputToDotNet] = getTable()
load('patients', 'Gender', 'Smoker', 'Height', 'Weight');
T = table(Gender, Smoker, Height, Weight);
outputToDotNet = table2cell(T);
end
I then compile the getTable.m function .NET library and read into MWCellArray within Visual Studio (described here), but I am not able to convert into a .NET DataTable. I also tried the NET.convertArray Matlab function without success.
What is the best way to send a Matlab table to .NET DataTable?

답변 (0개)

카테고리

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

Community Treasure Hunt

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

Start Hunting!

Translated by