matlab GUI 实现文件夹选择
2016-04-08 08:54
501 查看
matlab实现多个文件夹选择
单个文件夹选择
Open folder selection dialog box
使用
type the name of a folder). If the folder you specifyexists,
OK. If you click Cancel (orthe window's close box),
Note: The visual characteristics of the dialog box depend on the operatingsystem that runs your code. For instance, some operating systems donot show title bars on dialog boxes. If you pass a dialog box titleto the uigetdir function, those
operating systems will not displaythe title.
获取文件
单个文件夹选择
Open folder selection dialog box
使用
uigetdir
folder_name = uigetdir folder_name = uigetdir(start_path) folder_name = uigetdir(start_path,dialog_title)
Description
folder_name = uigetdirdisplaysa modal dialog box showing the folders that are inside the currentworking directory. This dialog allows you to navigate to a folderand select it (or
type the name of a folder). If the folder you specifyexists,
uigetdirreturns the selected path whenyou click
OK. If you click Cancel (orthe window's close box),
uigetdirreturns
0.
folder_name = uigetdir(start_path)showsthe folders that are inside the folder,
start_path.If
start_pathis an empty string (
'')or is not a valid path, the dialog box opens in the current workingdirectory.
folder_name = uigetdir(start_path,dialog_title)opensa dialog box with the title,
dialog_title. Thedefault
dialog_titleis Select Directoryto Open.
Note: The visual characteristics of the dialog box depend on the operatingsystem that runs your code. For instance, some operating systems donot show title bars on dialog boxes. If you pass a dialog box titleto the uigetdir function, those
operating systems will not displaythe title.
获取文件
uigetfile
保存文件uiputfile
保存变量到文件uisave
Open dialog box for saving variables to MAT-file相关文章推荐
- 利用matlab实现最大连通域的人脸识别
- opencv-matlab-multi view geo-双目-相机参数-转置与不转置与转置与不转置-指南
- Matlab程序怎样打包
- simulink仿真错误:MATLAB Function Interface Error
- Matlab常用小技巧
- 将matlab的数据保存xml 在c++下通过opencv读取;
- matlab的基本命令·矩阵篇
- Matlab R2014a 由.m文件产生C代码,并在VS2010中测试
- Matlab信号添加噪声及信噪比SNR的计算
- Matlab R2014a由.m文件产生C代码,在VS2010中运行
- OpenCV中与matlab中相对应的函数
- C语言与MATLAB接口 编程与实例 李传军编着
- 关于matlab2014a中生成dll文件,打包成com组件出现的问题和解决方法
- matlab 求解线性方程组之范数
- MATLAB数据精度控制
- 在Matlab符号计算中灵活运用assume
- matlab中矩阵另存为txt
- 中值滤波matlab
- matlab里不同颜色标记不同线点
- When creating mex in MATLAB: error C3861: 'fmax': identifier not found