Microscopy Image Browser 2.91
MIB
Loading...
Searching...
No Matches
mib_uigetfile.m File Reference

a wrapper function to provide a modified uigetfile dialog for MacOS Catalina. The general syntax is the same as for uigetfile, except missing MultiSelect key More...

Functions

function [ file , path , indx ] = mib_uigetfile (filter, title, defname, mode)
 a wrapper function to provide a modified uigetfile dialog for MacOS Catalina. The general syntax is the same as for uigetfile, except missing MultiSelect key
 

Detailed Description

a wrapper function to provide a modified uigetfile dialog for MacOS Catalina. The general syntax is the same as for uigetfile, except missing MultiSelect key

Function Documentation

◆ mib_uigetfile()

function [ file , path , indx ] = mib_uigetfile ( filter,
title,
defname,
mode )

a wrapper function to provide a modified uigetfile dialog for MacOS Catalina. The general syntax is the same as for uigetfile, except missing MultiSelect key

Parameters
filterfile filter, specified as a character vector, cell array of character vectors, or a string array For example: {*.fig,Figures (*.fig); ... *.mat,MAT-files (*.mat); ... *.png; *.jpg,Images (*.png, *.jpg); ... ., All Files (.)}
titlestring, dialog box title
defnamedefault file name field value, specified as a character vector or a string scalar. The defname value can specify a path, or a path and a file name
modemultiselect mode, 'off' (default) or 'on'
Return values
filefile name that the user specified in the dialog box, returned as a cell array
pathpath to the specified file or files, returned as a character vector
indxselected filter index, returned as an integer

Examples:

fileFilter = {'*.mat','MAT-files (*.mat)'; ...
'*.*', 'All Files (*.*)'};
[file, path, indx] = mib_uigetfile(fileFilter, 'Select files', 'c:\', 'on');
if isequal(file, 0); return; end
function [ file , path , indx ] = mib_uigetfile(filter, title, defname, mode)
a wrapper function to provide a modified uigetfile dialog for MacOS Catalina. The general syntax is t...
Definition mib_uigetfile.m:17

Referenced by amiraLabels2bitmap(), amiraLandmarks2points(), amiraMesh2bitmap(), amiraMeshSlice2bitmap(), mibMembraneDetectionController.classifierFilenameBtn_Callback(), mibDeepController.duplicateConfigAndNetwork(), mibPreferencesAppController.ExternalDirSelect(), getAmiraMeshHeader(), getMRCfile(), getMRCheader(), mibDeepController.importNetwork(), mibGraphcutController.importSuperpixelsBtn_Callback(), mibVolRenAppController.loadAnimationPath(), mibAnnotationsController.loadBtn_Callback(), mibLines3DController.loadBtn_Callback(), mibMeasureToolController.loadBtn_Callback(), mibSupervoxelClassifierController.loadClassifierBtn_Callback(), mibDeepController.loadConfig(), mibModel.loadMask(), mibModel.loadModel(), mibBatchController.loadProtocol(), mibAlignmentController.loadShiftsCheck_Callback(), mibVolRenController.menuFileLoadAnimation_Callback(), mibLoadImages(), mibController.mibRoiLoadBtn_Callback(), mibPreferencesController.modelsColorsTable_cb(), mibPreferencesAppController.ModelsColorsTableContextMenuCallbacks(), mibGUI>mibFijiSelectFileBtn_Callback(), mibAlignmentController.selectButton_Callback(), mibRechopDatasetController.selectFilesBtn_Callback(), mibDeepController.selectNetwork(), and mibRandomRestoreDatasetController.selectSettingsFileBtn_Callback().

Here is the caller graph for this function: