How to fill MATLAB table with .Net char array?
显示 更早的评论
In the code below I get an array of chars from .Net library(the array isn't empty and has all needed data). Then I want to convert it to cells and pass to the table. For now, the table filled only with one first character.
dict = WordStatLib.Program.dict;
arrKeys = NET.invokeGenericMethod('System.Linq.Enumerable', 'ToArray',{'System.Char'}, dict.Keys);
keysAsCell = num2cell(arrKeys);
table = findobj('Tag','FirstTable');
table.Data = keysAsCell;
回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 .NET Data Types in MATLAB 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!