Matlab finds webcam, but says after running the code it is invalid

조회 수: 1(최근 30일)
Error "The webcam object is no longer valid. Please create a new connection to the webcam."
Please help, tried everything. Very thankful for any kind of help!

채택된 답변

Khalid Mahmood
Khalid Mahmood 2021년 5월 1일
try these 3 commands:
1) clear all
2) imaqreset
3) Then a) cam =webcam b) preview cam
  댓글 수: 8
Khalid Mahmood
Khalid Mahmood 2021년 5월 3일
Its great that the solution is working for you.
Any how if you want to remove the error in load myNet1.mat, you can email me and attach that file in email.
Then I will tell you the actual cause of error and its remedy

댓글을 달려면 로그인하십시오.

추가 답변(0개)


Find more on Dependency Analysis in Help Center and File Exchange


Community Treasure Hunt

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

Start Hunting!

Translated by