How do I write into my m-file to use the GUI user-selected pathdirectory?
1 view (last 30 days)
I have an interface (built using GUIDE) that gets the user to select a pathdirectory/file where jpegs images are kept. A pushbutton is then to be used to run an m-file using these images.
My question is how do i write into my m-file that i want the user-selected pathdirectory as the chosen directory and not the one I have so far manually written into the m-file (which I have so far run as a standalone program and not used through an GUI interface)?
Any help and advice would be gratefully appreciated - I am very new to this GUI programming.
Many thanks, Sue x