From: <HIDDEN>
Path: news.mathworks.com!newsfeed-00.mathworks.com!webcrossing
Newsgroups: comp.soft-sys.matlab
Subject: Re: editing/using mfile from Toolbox without admin
Message-ID: <ef54a80.1@webcrossing.raydaftYaTP>
Date: Mon, 23 Apr 2007 07:03:28 -0400
References: <ef54a80.-1@webcrossing.raydaftYaTP> <AC88BF8736DD56228E898D6E7345C3FC@in.webcrossing.raydaftYaTP>
Lines: 9
NNTP-Posting-Host: 194.250.98.243
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
Xref: news.mathworks.com comp.soft-sys.matlab:404699



Hi,

The problem is that 'findpeak' is a private function, it can be
accessed only by functions which are located in the directory just on
top.
So I'm afraid that you have to copy it and all other private
functions your function need in your own directory.
I suppose that the problem will arise if the function uses some
classes which are located in the original directory.