How to load cell *.mat into matlab coder for mex file generation
이전 댓글 표시
Hi, Im just trying out Matlab coder 3.0 but I don't know how to import presaved cells
problem:
test.mat % class cell size 955x2
test= load('test.mat');
test % 1x1 struct
test.test % class cell size 955x2
In Matlab coder i get:
Found unsupported class for variable using function 'load'. MATLAB class 'cell' found at 'test.test' is unsupported.
Use the command 'whos -file test.mat' to view the variables in the MAT file.
whos -file test.mat shows:
Name Size Bytes Class Attributes
test 955x2 1990906 cell
Hope someone could help me
채택된 답변
추가 답변 (1개)
Samir Khan
2018년 9월 19일
0 개 추천
It is about time that this limitation must have been addressed.
댓글 수: 1
Ryan Livingston
2018년 9월 21일
And it has:
As of MATLAB R2018a the limitation about cell arrays and load/coder.load has been lifted.
카테고리
도움말 센터 및 File Exchange에서 MATLAB Coder에 대해 자세히 알아보기
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!