Input argument error while running a batch function.

Hello all, I have a function that takes three inputs in the order, an image,an integer,another image. I have tried running the function as a batch but get the following error.
j=batch(func1,1,{image1,4,image2});
Not enough input arguments.
Error in func1 (line 7)
imgSize=size(image1);
Any ideas? The same command works perfectly well when used without the batch.

 채택된 답변

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Language Support에 대해 자세히 알아보기

질문:

2016년 12월 19일

답변:

2016년 12월 19일

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by