Skip to content

StackOverflowMATLABchat/uiget

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

Minimum Version

UIGET

uiget opens a dialog box that allows the user to select folder(s) and/or file(s) in a single UI. This is designed as a generic alternative to MATLAB's more specific UI selection tools: uigetdir and uigetfile

This tool utilizes MATLAB's string objects, introduced in R2016b.

This utility was inspired by: Making a dialog where the user can choose either a file or a folder, a Q&A posted by SO user Dev-iL on 2018-07-20

Syntax

file = uiget()

[file, path] = uiget()

___ = uiget(basepath)

___ = uiget(___, Name, Value)

Examples

Name, Value Pairs

Parameter Description Type Default Value
'MultiSelect' Specify whether a user can select multiple files or folders logical false
'ScalarPathOutput' Specify whether a scalar path is output when using 'MultiSelect' logical false
'Title' Specify a custom dialog title char vector, string scalar 'Select File or Folder'

About

Single MATLAB UI for selection of either a folder or files

Topics

Resources

Stars

3 stars

Watchers

3 watching

Forks

Contributors

Languages