How to resolve error of simulink
2 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
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 comentarios
Ryan G
el 27 de Sept. de 2012
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.
Respuestas (0)
Ver también
Categorías
Más información sobre Computer Vision with Simulink en Help Center y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!