|
Thanks Bruno, that did the trick perfectly!
J
(Abel, pwd only tells you the current directory in the
workspace, not where the subroutine is called from.)
"Bruno Luong" <b.luong@fogale.fr> wrote in message
<fudm59$77d$1@fred.mathworks.com>...
> "jay vaughan" <jvaughan5.nospam@gmail.com> wrote in message
> <fudlm9$quu$1@fred.mathworks.com>...
> >
> > Hi,
> >
> > I would like to have a function indicate the path where it
> > is located upon being called, but I haven't been able to
> > figure out how to have the function generate that info. It
> > seems like it should be simple.
> >
> > For now, I am just entering the path manually into the
> > function, but it would be nicer if the function would be
> > able to generate the path automatically so when I give it to
> > other people (as part of a package) they don't have to
> > fiddle with it.
> >
> >
>
> mfilename
> fileparts
>
> Bruno
|