Borrar filtros
Borrar filtros

webcam() function "MEX level2 S-function" error

5 visualizaciones (últimos 30 días)
Fatih Kaptanoglu
Fatih Kaptanoglu el 5 de Nov. de 2022
Respondida: Fatih Kaptanoglu el 4 de Mzo. de 2023
I reinstall support package for usb webcams but doesn't matter,
If I tried matlab web, webcam is running but matlab in win11 doesn't acquire my laptop webcam.
How can I do?
ERROR TEXT:
Error using webcam
MEX level2 S-function "webcam" must be called with at least 4 right hand arguments

Respuestas (2)

Eswaramoorthy
Eswaramoorthy el 1 de Mzo. de 2023
Hi,
You seem to have created a MEX function and named it as "webcam". This is shadowing Webcam SPKG's function "webcam".
This is the reason why you get the error message that it needs 4 input arguments.
Rename the file name(from "webcam") to overcome the issue.
Hope this Helps!

Fatih Kaptanoglu
Fatih Kaptanoglu el 4 de Mzo. de 2023
I fully remove Matlab and the problem solved.

Categorías

Más información sobre MATLAB Support Package for IP Cameras en Help Center y File Exchange.

Productos


Versión

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by