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.

Antworten (1)

Aniket
Aniket am 11 Jun. 2025

0 Stimmen

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!

Kategorien

Mehr zu Scripts finden Sie in Hilfe-Center und File Exchange

Tags

Gefragt:

am 13 Jun. 2016

Beantwortet:

am 11 Jun. 2025

Community Treasure Hunt

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

Start Hunting!

Translated by