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