Hi Suigeneris,
thanks a lot for your tip!!
actually the 'getfield' causes a erroermessage:
??? Error using ==> getfield
Error using ==> subsref
Index exceeds matrix dimensions.
Error in ==> C:\Programme\Matlab\work\Untitled.m
On line 9 ==> A = getfield(answer,{1}); %first input field
but...