I'm trying to convert m files into c/c++ code using MATLAB Coder. When I try to perform code generation with MATLAB Coder, some errors about cell function are revealed as following:
'Varagout expected. Code generation supports cell subscripted assignment for varagout only'
How can I prove this problem?
codes are described below:
…
width=cell(14,1);
height=cell(14,1);
width{1}=N;
height{1}=M;
…
Errors were occurred in the {1}.
Best Answer