From: TUDelft <wessels1984@gmail.com>
Path: news.mathworks.com!newsfeed-00.mathworks.com!webcrossing
Newsgroups: comp.soft-sys.matlab
Subject: editing/using mfile from Toolbox without admin rights (n00b)
Message-ID: <ef54a80.-1@webcrossing.raydaftYaTP>
Date: Mon, 23 Apr 2007 05:01:35 -0400
Lines: 21
NNTP-Posting-Host: 130.161.72.215
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
Xref: news.mathworks.com comp.soft-sys.matlab:404677



I have a total n00b question. I spend hours looking in the
Help-functions but it drives me crazy. Each time when I think I found
the solution it didnt help. I hope you guys can help me out. The
solution is probably very simple, yet, I didnt found it.

For my graduation project I need to change a mfile from the Toolbox.
The problem is that I cannot save it in the current directory because
it is public school PC Im working on. I have tried to save it in my
own directory but then I get errors that Matlab cannot specify a
function. The message is:

Undefined command/function 'findpeak'.

Error in ==> cpcorr at 115
    [xpeak, ypeak, amplitude] = findpeak(norm_cross_corr,subpixel);

The problem is probably that I use some mfiles from my own directory
(USB hdd) in combination with the mfiles from the Toolbox.

However, I hope you can help me out. I think the solution is very
easy, and just the settings I have to edit (I hope).