How to print the image name

How can I print the image name in Matlab? For example, I have created a GUI where I want the name "man.jpg" to appear in an Edit Field.

Respuestas (1)

Luca Ferro
Luca Ferro el 23 de Mayo de 2023
Editada: Luca Ferro el 23 de Mayo de 2023

0 votos

assuming that you have the name of the image as a string:
app.ThisIsYourEditFieldName.Value=thisIsYourImageName;
for a more precise solution we need more context.

Categorías

Más información sobre Images en Centro de ayuda y File Exchange.

Productos

Versión

R2021b

Etiquetas

Preguntada:

el 23 de Mayo de 2023

Editada:

el 23 de Mayo de 2023

Community Treasure Hunt

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

Start Hunting!

Translated by