Alternate Text for image in Live Script

3 visualizzazioni (ultimi 30 giorni)
I need to add Alternate Text to my images as I add them to my Live Script using MATLAB 2020a installed on my computer. When I click the insert button, there is no option for adding alt text as there is in the web based editor. What is the recommended way to add alt text to the images in Live Scripts?

Risposta accettata

Gouri Chennuru
Gouri Chennuru il 13 Ago 2020
Hi Heather,
MATLAB by default considers alternate text as the name of the image inserted, you can find the alternate text when you export the .mlx file to HTML format.
Currently there is no option for adding Alternate text, This is already a known issue and concerned people are aware of it and they may be working on it.
Regards,
Gouri Chennuru.
  1 Commento
Heather Lai
Heather Lai il 8 Gen 2021
Thank you for adding this functionality in 2020b. Is there a way to allow the alt text to also be associated with the images in files exported as a word or pdf file?

Accedi per commentare.

Più risposte (1)

Bora Eryilmaz
Bora Eryilmaz il 14 Nov 2022
You can now add Alt-text to images in the Live Editor using the "Edit Image.." right-click menu on the inserted image. You will get a dialog where you can enter the alt-text:

Categorie

Scopri di più su Scripts in Help Center e File Exchange

Prodotti


Release

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by