《MATLAB图像处理375例》——1.9 查询帮助命令

简介:

本节书摘来自异步社区《MATLAB图像处理375例》一书中的第1章,第1.9节,作者:MATLAB技术联盟著,更多章节内容可以访问云栖社区“异步社区”公众号查看

1.9 查询帮助命令

MATLAB图像处理375例
MATLAB用户可以通过在命令行窗口中直接输入命令来获得相关的帮助信息,这种获取方式比联机帮助更为快捷。在命令行窗口中获取帮助信息的主要命令为help和lookfor以及模糊寻找,下面将介绍这些命令。

1.9.1 help命令
直接输入help命令,会显示当前的帮助系统中所包含的所有项目。需要注意的是用户在输入该命令后,命令行窗口只显示当前搜索路径中的所有目录名称。例如,在命令行窗口输入:

>>help
帮助主题:
toolbox\local         - General preferences and configuration information.
matlab\codetools        - Commands for creating and debugging code
matlab\datafun         - Data analysis and Fourier transforms.
matlab\datamanager       - (没有目录文件)
matlab\datatypes        - Data types and structures.
matlab\elfun          - Elementary math functions.
matlab\elmat          - Elementary matrices and matrix manipulation.
matlab\funfun         - Function functions and ODE solvers.
matlab\general         - General purpose commands.
matlab\guide          - Graphical user interface design environment
matlab\helptools        - Help commands.
matlab\iofun          - File input and output.
matlab\lang          - Programming language constructs.
matlab\matfun         - Matrix functions - numerical linear algebra.
matlab\ops           - Operators and special characters.
matlab\polyfun         - Interpolation and polynomials.
matlab\randfun         - Random matrices and random streams.
matlab\sparfun         - Sparse matrices.
matlab\specfun         - Specialized math functions.
matlab\strfun         - Character strings.
.……              .……
vnt\vntguis          - (No table of contents file)
vnt\vntdemos         - (No table of contents file)
vntblks\vntblks        - (No table of contents file)
vntblks\vntmasks       - (No table of contents file)
wavelet\wavelet        - Wavelet Toolbox
wavelet\wmultisig1d      - (No table of contents file)
wavelet\wavedemo       - (No table of contents file)
wavelet\compression      - (No table of contents file)
xpc\xpc           - xPC Target
xpcblocks\thirdpartydrivers   - (No table of contents file)
build\xpcblocks        - xPC Target -- Blocks
build\xpcobsolete       - (No table of contents file)
xpc\xpcdemos         - xPC Target -- examples and sample script files.

如果用户知道某个函数名称,并想了解该函数的具体用法,只需在命令行窗口中输入:

help+函数名

例如,在命令行窗口输入:

>> help sin
sin - Sine of argument in radians
  This MATLAB function returns the sine of the elements of X.
  Y = sin(X)
  sin 的参考页
  另请参阅 asin, asind, sind, sinh
  名为 sin 的其他函数
    fixedpoint/sin, symbolic/sin 1.2.2 lookfor函数的使用

当用户不知道函数的确切名称时,help函数就无能为力了,但可以使用lookfor函数方便地解决这个问题。在使用lookfor函数时,用户只需知道某个函数的部分关键字,在命令行窗口中输入:

lookfor+关键字

可以很方便地实现查找。例如,在命令行窗口输入:

>>lookfor sin
BioIndexedFile     - class allows random read access to text files using an index file.
loopswitch       - Create switch for opening and closing feedback loops.
mbcinline       - replacement version of inline using anonymous functions
cgslblock     - Constructor for calibration Generation Simulink block parsing manager
xregaxesinput         - Constructor for the axes input object for a ListCtrl
ExhaustiveSearcher       - Neighbor search object using exhaustive search.
KDTreeSearcher         - Neighbor search object using a kd-tree.
……               ……
sample_supported        - <name>_supported fills in a single instance or an array
dxpcUDP1            - Target to Host Transmission using UDP
dxpcUDP2            - Target to Target Transmission using UDP
j1939exampleDemo        - J1939 - Using Transport Protocol
scscopedemo          - Signal Tracing Using Scope Triggering
scsignaldemo          - Signal Tracing Using Signal Triggering
scsoftwaredemo         - Signal Tracing Using Software Triggering

1.9.2 模糊寻找
MATLAB还提供一种模糊寻找的命令查询方法,只需在命令界面输入命令的前几个字母,然后按Tab键,系统将列出所有以其开头的命令。例如在命令行窗口输入“so”,然后按Tab键,运行结果如图1-17所示。

screenshot

相关文章
|
2月前
|
计算机视觉
图像处理基础篇-形态学处理-边缘检测(matlab仿真与图像处理系列第4期)
图像处理基础篇-形态学处理-边缘检测(matlab仿真与图像处理系列第4期)
36 1
|
2月前
|
机器学习/深度学习 并行计算 算法
霍夫变换椭圆检测(matlab仿真与图像处理系列第2期)
霍夫变换椭圆检测(matlab仿真与图像处理系列第2期)
56 0
|
2月前
|
算法 计算机视觉
永磁同步电机的矢量控制PMSM仿真+simulink仿真建模(matlab仿真与图像处理)
永磁同步电机的矢量控制PMSM仿真+simulink仿真建模(matlab仿真与图像处理)
102 1
|
2月前
|
编解码 并行计算 算法
如何在 MATLAB 中进行图像分割(matlab仿真与图像处理系列第7期)
如何在 MATLAB 中进行图像分割(matlab仿真与图像处理系列第7期)
79 1
|
2月前
|
机器学习/深度学习 算法 计算机视觉
霍夫变换车道线识别-车牌字符识别代码(matlab仿真与图像处理系列第5期)
霍夫变换车道线识别-车牌字符识别代码(matlab仿真与图像处理系列第5期)
30 2
|
7月前
|
机器学习/深度学习 传感器 算法
【红外图像】利用红外图像处理技术对不同制冷剂充装的制冷系统进行性能评估(Matlab代码实现)
【红外图像】利用红外图像处理技术对不同制冷剂充装的制冷系统进行性能评估(Matlab代码实现)
|
7月前
|
机器学习/深度学习 传感器 算法
【视频去噪】基于全变异正则化最小二乘反卷积是最标准的图像处理、视频去噪研究(Matlab代码实现)
【视频去噪】基于全变异正则化最小二乘反卷积是最标准的图像处理、视频去噪研究(Matlab代码实现)
|
7月前
|
机器学习/深度学习 传感器 算法
【图像处理】使用各向异性滤波器和分割图像处理从MRI图像检测脑肿瘤(Matlab代码实现)
【图像处理】使用各向异性滤波器和分割图像处理从MRI图像检测脑肿瘤(Matlab代码实现)
|
9月前
|
监控 计算机视觉
【图像处理】基于二维FIR的特定角度边缘检测(Matlab代码实现)
【图像处理】基于二维FIR的特定角度边缘检测(Matlab代码实现)
|
9月前
|
算法 计算机视觉
差分进化算法在图像处理中的应用研究(Matlab代码实现)
差分进化算法在图像处理中的应用研究(Matlab代码实现)

热门文章

最新文章