Prev: ??? Error using ==> fzero at 334 Function value at starting guess must be finite and real.
Next: Referencing stateflow lib inside another stateflow?
From: Ehud Eilon on 18 Mar 2010 12:14 My x is local, and I'm creating it outside Matlab (Matlab calls a script which calls external program that create x). I ran the isdir in the debugger command line. I guess it just gives 0 before. I might try to let the function wait for a TRUE isdir, but since I've already tried pause(5) (and it failed) seems to me that pausing inside the function is not gonna solve this problem "Ashish Uthama" <first.last(a)mathworks.com> wrote in message <op.u9rsoxj2a5ziv5(a)uthamaa.dhcp.mathworks.com>... > Is this a local directory? Are you creating it? There might be filesystem > delays causing this behavior. > When did you run the isdir('x')? [Protect your rmdir with a if(isdir(..)) > in the function code. ] |