How to resolve error of simulink
조회 수: 4 (최근 30일)
이전 댓글 표시
Hi everyone! I am trying to deal with videos in simulink which are giving me quite tough time. I have read a avi video from 'from multimedia file block'. I want to do some processing on it so I have written a matlab function named as 'vidfunc' for that; in which I am reading every frame comming from multimedia file block and then extracting some area of it.Then I used 'matlab function block' to incorporate that function in my simulink model.Firstly it was giving me error at 'from multimedia file block' that it can't propagate a 3D signal. Then I used 'color space conversion block' just after 'from multimedia file block'. It resolved the problem but now its giving me error 'Unable to determine the file format'& 'Error in 'workonvid/MATLAB Fcn' while evaluating expression: Unable to determine the file format'. any guidance?
댓글 수: 2
Ryan G
2012년 9월 27일
Is the function being called one that you wrote? If so you may be able to put a breakpoint in it and debug as you would any other function. You need to determine what line of code is giving you the issue for anyone to figure this out.
Given your application a quick google search shows IMREAD gives this error when trying to send in an unsupported file type.
답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Naming Conventions에 대해 자세히 알아보기
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!