How can I display a directory path in the edit textbox in gui form in matlab
11 views (last 30 days)
Show older comments
I'm a student and I'm new to the software. So, I am unable to understand this...
0 Comments
Answers (1)
Image Analyst
on 27 Jan 2013
Use the set() function. let's say your directory is in a variable called folder, and let's say that the "tag" to the textbox is called edit1 (you're using GUIDE to build your GUI). Then when you want to send the current string in "folder" to the text box, you do this:
set(handles.exit1, 'String', folder);
2 Comments
See Also
Categories
Find more on Environment and Settings in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!