how can I remove the 'all files' option from the browse window when making GUI ?

When i use uigetfile() function to open browse window, is there any way I can show only the file type i want to select (example: *.jpg) and remove the 'all files' option altogether from the GUI? Thanks in advance!

 Accepted Answer

uigetfile('*.jpg')

2 Comments

that worked, thank you! i didn't understand this in the documentation, but i think i got the hang of it now.

Sign in to comment.

More Answers (1)

This is explained exhaustively in the documentation:
help uigetfile
doc uigetfile
Please read the docs before asking the forum. Thanks.

Categories

Find more on App Building 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!