Matlab finds webcam, but says after running the code it is invalid
2 次查看(过去 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!
0 个评论
采纳的回答
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
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 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Loops and Conditional Statements 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!