查看单个帖子
旧 2019-12-04, 12:34   #1
poster
高级会员
 
注册日期: 2019-11-21
帖子: 3,006
声望力: 66
poster 正向着好的方向发展
默认 无法在批处理中使用Ipcam功能

我在matlab中使用批处理在后台运行函数。

这是仅捕获图像并将其保存的功能:

function = captureImg(URL) cam = ipcam(URL); img = snapshot(cam); imwrite(img,'newImg.jpg'); end 函数captureImg正常工作,但是当我使用批处理运行它时,出现错误:

job = batch(@captureImg , 0, {'HTTP://192.168.0.49'}) Error: Unable to load a message catalog 'matlab:ipcamera:ipcam'. Please check the file location and format.

更多&回答...
poster 当前离线   回复时引用此帖