How to print the image name

2 次查看(过去 30 天)
Zainab Riyadh
Zainab Riyadh 2023-5-23
编辑: Luca Ferro 2023-5-23
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.

回答(1 个)

Luca Ferro
Luca Ferro 2023-5-23
编辑:Luca Ferro 2023-5-23
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.

类别

Help CenterFile Exchange 中查找有关 Images 的更多信息

标签

产品


版本

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by