我正在 Matlab 中创建自己的函数,并且希望能够在键入“lookfor”时像下面这样显示它。
>> lookfor mean
mean - Average or mean value.
msfun_metronomean - METRONOMANIMATION S-function for making metronomean animation.
mameannorm - normalizes microarray data by dividing by global mean.
distfcm - Distance measure in fuzzy c-mean clustering.
fcm - Data set clustering using fuzzy c-means clustering.
initfcm - Generate initial fuzzy partition matrix for fuzzy c-means clustering.
stepfcm - One step in fuzzy c-mean clustering.
我听说可以通过在函数声明的正下方键入一行来完成,如下所示:
function [outputArgs] = TestFunction(inputArgs)
%TESTFUNCTION Summary of this function goes here
但是我已经尝试过了,它仍然没有出现在查找列表中?
任何帮助将不胜感激。
提前致谢!