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.

Risposte (1)

Luca Ferro
Luca Ferro il 23 Mag 2023
Modificato: Luca Ferro il 23 Mag 2023

0 voti

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.

Categorie

Scopri di più su Images in Centro assistenza e File Exchange

Prodotti

Release

R2021b

Richiesto:

il 23 Mag 2023

Modificato:

il 23 Mag 2023

Community Treasure Hunt

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

Start Hunting!

Translated by