Can I include an AVI-file in my HTML-file generated by using "Publish to HTML" toolbar button in MATLAB?
이전 댓글 표시
I have a MATLAB script that creates a movie. I would like to include this movie in the HTML document created by "Publish to HTML" or the PUBLISH command.
채택된 답변
추가 답변 (1개)
Baptiste Ottino
2017년 8월 8일
I have an alternative solution. If you don't want to modify your html file directly (for example because you want to be able to modify your m-file and republish), you can also directly use html tags inside your matlab script, as such:
% Here is a movie
% <html><object data="mymovie.avi" type="video/avi">Text to Display if the Browser Doesn't Support AVI files.
% </object></html>
If you don't use sound, the GIF format is pretty convenient for use in browsers:
% Here is a movie
% <html><img src="mymovie.gif"></html>
카테고리
도움말 센터 및 File Exchange에서 Large Files and Big Data에 대해 자세히 알아보기
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!