How to resolve error of simulink
2 ビュー (過去 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!