Simulink 'Frame to Pixels' block error: computed fixed step size smaller than all the discrete sample times
7 views (last 30 days)
Show older comments
When I create a new model from Simulink - File - New - From Template - Vision HDL Toolbox - Basic Model, I get an error when I try to replace the default rhinos.avi movie with my own 720p movie file. I have updated both 'Frame to Pixel' and 'Pixel to Frame' blocks with my 720p video format. Changing the 'Video Source' block doesn't fix the problem. I have also updated the Model Properties InitFcn callback with the 720p format. The simulation is set to fixed-step discrete with auto step size. Can someone help me understand what fixed step size value would be acceptable here?


Thanks, Robert
0 Comments
Accepted Answer
Bharath Venkataraman
on 3 Dec 2015
Robert,
You can resolve this issue by switching to the variable step solver with discrete states.
Bharath
More Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!