MATLAB Error: All ‘cdata’ fields in FRAMES must be the same size – Solved!

preview_player
Показать описание
When making movies and animations in MATLAB you may encounter an error related to cdata fields in FRAMES must be the same size. This is caused by screenshots/frames of the animation that are different widths/heights from one another. We show several ways to solve this problem including a custom function that you can download.

Topics and timestamps:
0:00 – Introduction
3:06 – Solution using ‘axis’
4:34 – Solution using ‘MakeMovieVectorFramesSameSize

#Matlab #Simulink

Рекомендации по теме