When I compile the following Embedded MATLAB code:
function y = StructInitialization A.B=5; C= repmat([1 2 3], 1, A.B); y=0;end
I receive the following error:
Size argument must be constant. Function 'Embedded MATLAB Function' (#29.54.77), line 3, column 8: "repmat([1 2 3], 1, A.B)" Launch diagnostic report.
Best Answer