poster
2019-12-04, 12:34
我在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.
更多&回答... (https://stackoverflow.com/q/59168867)
这是仅捕获图像并将其保存的功能:
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.
更多&回答... (https://stackoverflow.com/q/59168867)