Simulink 'Frame to Pixels' block error: computed fixed step size smaller than all the discrete sample times
13 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
RobertDM
il 3 Dic 2015
Commentato: RobertDM
il 3 Dic 2015
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 Commenti
Risposta accettata
Bharath Venkataraman
il 3 Dic 2015
Robert,
You can resolve this issue by switching to the variable step solver with discrete states.
Bharath
Più risposte (0)
Vedere anche
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!