Matlab“函数或变量 'classifyVideoFile' 无法识别”如何解决?

如题,在首先是在运行Matlab官方示例“GestureRecognitionUsingSlowFastVideoClassificationExample”时先出错,显示
“此类型的变量不支持使用点进行索引。
出错 GestureRecognitionUsingSlowFastVideoClassificationExample (第 56 行)
classes = slowFastClassifier.Classes ”如下图:

img


重编之后,又出现了“函数或变量 'classifyVideoFile' 无法识别。”,如下图:

img


查找发现该函数属于Computer Vision Toolbox,该Toolbox已装载,但使用dir指令后未找到该函数:

img


似乎也无法通过重装Toolbox来解决该问题,因为这个Toolbox应该是在装载Matlab的时候就同时安装在Matlab内的,而且我现在装的也应该已经是最新版的了,如下图:

img


另外,安装的Matlab版本是2021b。
麻烦了谢谢!

你看看安装路径是不是已经被你的toolbox放到你的搜所路径里面

This example requires the Computer Vision Toolbox™ Model for SlowFast Video Classification. You can install the Computer Vision Toolbox Model for SlowFast Video Classification from Add-On Explorer

img


然后遇到这个问题