HDL coder: Display video output by controlling with switch
Afficher commentaires plus anciens
Hello,
I have made a Simulink model with HDL Coder blocks. The input to the model is video and output is also a video. During latching the output I am facing an error regarding the correct size of the frame.

I want the output of the and gate to control the output to the pixel to frame converter like shown in below. But it can be seen that the model throughs the error and display "?" in the output of the AND gate.

As when I remove the connection and gives a constant value to the switch as shown below then it works.

But I would like to control the flow of pixel by switching by AND gate output. Please suggest me a workaround or solution to this problem.
Thank you
1 commentaire
Mohammed Shameem Hussain
le 12 Juil 2017
Réponses (1)
Bharath Venkataraman
le 10 Juil 2017
0 votes
Could you show us the earlier part of the model (before the AND block) or perhaps attach the model itself?
2 commentaires
Mohammed Shameem Hussain
le 10 Juil 2017
Mohammed Shameem Hussain
le 11 Juil 2017
Modifié(e) : Mohammed Shameem Hussain
le 11 Juil 2017
Catégories
En savoir plus sur Video Formats and Interfaces dans Centre d'aide et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
