Saying twopointcorr is undefined

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?

답변 (1개)

David Goodmanson
David Goodmanson 2018년 6월 28일
편집: David Goodmanson 2018년 6월 28일

1 개 추천

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.

이 질문은 마감되었습니다.

태그

질문:

2018년 6월 28일

마감:

2021년 8월 20일

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by