Cellarray in a dlarray
显示 更早的评论
Hello, I have a cell array and i want to transform it in a dlarray. Is that possible?
I have to put it in dlfeval and now i have this error:
first input arguments must be a formatted dlarray...
1 个评论
Jan
2021-4-15
This sounds, like the 1st input is not a formatted dlarray. Why does Matlab think, that this is the case? Based on the lean given information the readers have no chance to guess this.
回答(2 个)
Mahesh Taparia
2021-4-19
0 个投票
Joss Knight
2021-4-22
dlCell = cellfun(@dlarray, myCell, 'UniformOutput', false);
类别
在 帮助中心 和 File Exchange 中查找有关 Operations 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!