Saying twopointcorr is undefined
Info
This question is closed. Reopen it to edit or answer.
Show older comments
I have dowloaded the twopointcorr function but when I try to call it, it says "Undefined function or variable 'twopointcorr'". What do I do to fix this?
Answers (1)
David Goodmanson
on 28 Jun 2018
Edited: David Goodmanson
on 28 Jun 2018
1 vote
Hi Amav
You just have to make sure that twopointcorr is in a folder somewhere on the Matlab path, so that Matlab knows it exists. The path command shows all the currently recognized folders, and the cd command shows the current folder. If you want to add a folder, see pathtool, or addpath, savepath.
This question is closed.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!