Values within a cell array must be numeric, logical, or char?
Mostrar comentarios más antiguos
Don't seem to know what's wrong. I've tried everything I know. Here's the snippet containing the code:
Fg = varargin{1};
Ug = varargin{2};
eps = varargin{3};
sig = varargin{4};
elems = varargin{5};
L = varargin{6};
A = varargin{7};
E = varargin{8};
PPM={};
for i=1:3
out1=num2cell(i);
out2={num2cell(elems(1,1)) num2cell(elems(1,2))};
out3=num2cell(L(i,1));
out4=num2cell(A(i,1));
out5=num2cell(E(i,1));
PPM{i}={out1 out2 out3 out4 out5};
end
out={PPM}
set(handles.uitable1,'Data',out);
% Choose default command line output for postprocess
handles.output = hObject;
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Programming en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!