Hi Keming,
I understand that you want to play video with sound in App Designer.
To play video files within MATLAB, follow the steps :
- Use MATLAB's multimedia function “VideoReader” which is designed to work with MATLAB's graphical and data processing capabilities.
- Provide a callback to this function while playing in App Designer.
Please refer to the following MATLAB answers and documentation to learn more about the VideoReader function and how to use it with the app designer :
- https://in.mathworks.com/matlabcentral/answers/409913-videoreader-in-app-designer?s_tid=prof_contriblnk
- https://in.mathworks.com/matlabcentral/answers/332090-how-read-video-and-audio-stream-in-any-format-file-multimedia
- https://in.mathworks.com/help/matlab/ref/videoreader.html#busqe2j-1_1
Hope it helps!
Best Regards,
Simar