12.07.2015 Views

MATLAB Function Reference (Volume 2: Graphics)

MATLAB Function Reference (Volume 2: Graphics)

MATLAB Function Reference (Volume 2: Graphics)

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

listdlgExampleThis example displays a dialog box that enables the user to select a file fromthe current directory. The function returns a vector. Its first element is theindex to the selected file; its second element is 0 if no selection is made, or 1 ifa selection is made.d = dir;str = {d.name};[s,v] = listdlg('PromptString','Select a file:',...'SelectionMode','single',...'ListString',str)See Alsodir2-293

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!