From: Ilker on

> well...
> EDIT your file
> then put the statement KEYBOARD right before the line with the command MESH...
>
> us

Ok i did my last lines like this:

figure(1)
[X,Y] = meshgrid(1:1:JE);
KEYBOARD ;
mesh(X,Y,bz)
rect=get(gcf,'Position');
rect(1:2)=[0 0];
M=moviein(nsteps/2,gcf,rect);

when i click to run:

??? Undefined function or variable 'KEYBOARD'.

Error in ==> fdtdpatch at 374
KEYBOARD ;

Sorry for disturbing you, but i am an amateur on MATLAB.
From: us on
"Ilker " <ilkerus(a)msn.com> wrote in message <hrkoe4$lvs$1(a)fred.mathworks.com>...
>
> > well...
> > EDIT your file
> > then put the statement KEYBOARD right before the line with the command MESH...
> >
> > us
>
> Ok i did my last lines like this:
>
> figure(1)
> [X,Y] = meshgrid(1:1:JE);
> KEYBOARD ;
> mesh(X,Y,bz)
> rect=get(gcf,'Position');
> rect(1:2)=[0 0];
> M=moviein(nsteps/2,gcf,rect);
>
> when i click to run:
>
> ??? Undefined function or variable 'KEYBOARD'.
>
> Error in ==> fdtdpatch at 374
> KEYBOARD ;
>
> Sorry for disturbing you, but i am an amateur on MATLAB.

well... sorry for using the uppercase for a ML stock command, which is often done in this NG to make it visible...

you must use

keyboard;

us
From: Ilker on

> well... sorry for using the uppercase for a ML stock command, which is often done in this NG to make it visible...
>
> you must use
>
> keyboard;
>
> us

ok, i get results... X=120, Y=120, bz=0
why bz=0 ? is it the problem? how can i fix it ? should i post the all codes ?
From: Ilker on
"Ilker " <ilkerus(a)msn.com> wrote in message <hrkqdr$st6$1(a)fred.mathworks.com>...
>
> > well... sorry for using the uppercase for a ML stock command, which is often done in this NG to make it visible...
> >
> > you must use
> >
> > keyboard;
> >
> > us
>
> ok, i get results... X=120, Y=120, bz=0
> why bz=0 ? is it the problem? how can i fix it ? should i post the all codes ?

:( any suggestion ?
From: us on
"Ilker " <ilkerus(a)msn.com> wrote in message <hrngv9$4vn$1(a)fred.mathworks.com>...
> "Ilker " <ilkerus(a)msn.com> wrote in message <hrkqdr$st6$1(a)fred.mathworks.com>...
> >
> > > well... sorry for using the uppercase for a ML stock command, which is often done in this NG to make it visible...
> > >
> > > you must use
> > >
> > > keyboard;
> > >
> > > us
> >
> > ok, i get results... X=120, Y=120, bz=0
> > why bz=0 ? is it the problem? how can i fix it ? should i post the all codes ?
>
> :( any suggestion ?

sorry, but not a very appetizing idea...
just try to find out where
- BZ is defined
- BZ is modified
this is really your task as a programmer...

us