Why do I get a crash when a runtime error occurs while running generated code from the Video Input block?
조회 수: 2 (최근 30일)
이전 댓글 표시
MathWorks Support Team
2014년 9월 12일
답변: MathWorks Support Team
2014년 9월 12일
Running generated code for the Video Input block leads to a crash if a runtime error occurs. Examples of a runtime error are: * The image acquisition device is not connected to the system * The image acquisition device is not accessible * The image acquisition device or its drivers are not properly installed
채택된 답변
MathWorks Support Team
2014년 9월 12일
This is a known limitation for MATLAB releases R14+( version 1.6) through R14SP2 (version 1.8).
As of R14SP3 (version 1.9), generated code for the Video Input block now handles runtime errors gracefully. If a runtime error is encoutered, the generated code will stop the simulation run and report the cause of the problem.
댓글 수: 0
추가 답변 (0개)
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!