Hi Paulo,
In order to create a file selection dialog box that you can compile, it’s recommended to use uigetfile function.
Please refer to the following documentation link for more information regarding it:
Thanks
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!