How to print the image name

2 views (last 30 days)
Zainab Riyadh
Zainab Riyadh on 23 May 2023
Edited: Luca Ferro on 23 May 2023
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.

Answers (1)

Luca Ferro
Luca Ferro on 23 May 2023
Edited: Luca Ferro on 23 May 2023
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.

Categories

Find more on Images in Help Center and File Exchange

Products


Release

R2021b

Community Treasure Hunt

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

Start Hunting!