When I upload my video HDL Simulink video source, there are 2 errors.
3 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
matrix input does not have the expected size. The error occurred for MATLAB System block 'untitled/Frame To Pixels/hf2p'. See line 92, column 1 in file 'C:\Program Files\MATLAB\R2022a\toolbox\eml\lib\matlab\lang\validateattributes.m'.
Component:Simulink | Category:Model error
Error in port widths or dimensions. 'Output Port 1' of 'untitled/Frame To Pixels/frame' is a [1920x1080] matrix.
1 commentaire
Bharath Venkataraman
le 29 Sep 2022
Modifié(e) : Bharath Venkataraman
le 29 Sep 2022
Could you provide a snapshot of the model and the settings you have for the Frame To Pixels block?
From what I can see, the settings for Frame To Pixels and the input you are providing seem incompatible.
The input to the Frame To Pixels block should be a matrix of size 1080x1920 for a 1080p video.
Réponses (0)
Voir également
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!