how to add a gif file to a published code

조회 수: 3 (최근 30일)
yaniv friedman
yaniv friedman 2016년 6월 13일
답변: Aniket 2025년 6월 11일
hi, I would like to publish my matlab code, and add a GIF file to the published document. how can it be done?
I tried using :
% <<filename.gif>>
but only got a snapshot from the gif.
many thanks.

답변 (1개)

Aniket
Aniket 2025년 6월 11일
As far as I know, PDF does not support GIF, and hence only the snapshot is shown once it's saved. Instead, you can use export command in live editor to publish your code to a HTML file which supports GIFs.
Hope this helps!

카테고리

Help CenterFile Exchange에서 Get Started with MATLAB에 대해 자세히 알아보기

태그

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by