function simrunhand(n)
global HANDLES sys

hideallbtns

showall(HANDLES.runinpdef.edt)
showall(HANDLES.runinpdef.comm)

if isfield(sys,'x0')
   temp=length(sys.x0);
   p0=sys.x0(1:temp/2);
   v0=sys.x0(temp/2+1:temp);
   set(HANDLES.runinpdef.edt(1),'string',mat2str(p0))
   set(HANDLES.runinpdef.edt(2),'string',mat2str(v0))
end

