Not enough arguments error in simulink model
Hi, I have created a simple model to process two images to detect features, and output distance estimates between matching features. The model has two spurces from corresponding files, Image 1 and Image 2. Each image is converted to RGB, and input to a function block I have defined as v= functionKAZE(grayImg1, grayImg2). This function block is linked to a scope showing v vs. time.
When I run this model, simulink responds with the error message "Not enough input arguments.". I have checked my function separately with the image files supplied from the command prompt, and works fine. What could I have missed? Thanks In advance.Hi, I have created a simple model to process two images to detect features, and output distance estimates between matching features. The model has two spurces from corresponding files, Image 1 and Image 2. Each image is converted to RGB, and input to a function block I have defined as v= functionKAZE(grayImg1, grayImg2). This function block is linked to a scope showing v vs. time.
When I run this model, simulink responds with the error message "Not enough input arguments.". I have checked my function separately with the image files supplied from the command prompt, and works fine. What could I have missed? Thanks In advance. Hi, I have created a simple model to process two images to detect features, and output distance estimates between matching features. The model has two spurces from corresponding files, Image 1 and Image 2. Each image is converted to RGB, and input to a function block I have defined as v= functionKAZE(grayImg1, grayImg2). This function block is linked to a scope showing v vs. time.
When I run this model, simulink responds with the error message "Not enough input arguments.". I have checked my function separately with the image files supplied from the command prompt, and works fine. What could I have missed? Thanks In advance. simulink, user function, model error MATLAB Answers — New Questions