33 lines
713 B
Matlab
33 lines
713 B
Matlab
function disp(obj)
|
|
%DISP Display information about a PricklyPear object
|
|
% disp(PP)
|
|
|
|
disp(' ');
|
|
disp('==================');
|
|
disp('PricklyPear object');
|
|
disp('==================');
|
|
disp(' ');
|
|
|
|
fprintf('Experiment: %s\n', obj.sim_experiment);
|
|
fprintf(' Irec: %i\n', obj.sim_irec);
|
|
disp(' ');
|
|
|
|
p = properties(obj);
|
|
pt = obj.strpad(p);
|
|
|
|
disp('Properties');
|
|
disp('==========');
|
|
for ii = 1:numel(pt)
|
|
if any(strcmp(obj.template_exclude, p{ii}))
|
|
continue;
|
|
end
|
|
fprintf(' %s -> %g\n', pt{ii}, obj.(p{ii}));
|
|
end
|
|
disp(' ');
|
|
|
|
% disp('Methods');
|
|
% disp('=======');
|
|
% fprintf(' run\n');
|
|
|
|
end
|