Date: Oct 23, 2012 2:46 AM
Subject: Re: Cannot enable breakpoint(s) because of syntax error.
"Matt J" wrote in message <firstname.lastname@example.org>...
> "kinor" wrote in message <email@example.com>...
> > Dear all,
> > my matlab 2012a on win 7 64 bit tells me:
> > Cannot enable breakpoint(s) because of syntax error.
> > Cannot find function ...
> > but it is a function which is on the path and it is found with the which command.
> Sounds doubtful. Even if the function were not on the MATLAB path, that's no reason for it to be considered a syntax error.
> If you can, post your code and show at what line you would like to set the breakpoint.
thanks a lot for your reply, i have to admitt, it sounds really strange.
I copied the file now to another directory and now it works.
the funny thing:
when i set a breakpoint to the calling function and went in, then THIS function was executed.. without any error.
would be nice to get a hint in order to save time.