Friday, 20 April 2012

Matlab access file from uigetfile dialog box Example , Matlab uigetfile example

In uigetfile is predefined function for open dialog-box .This  dialog-box support to read and access the path of user selected file.This path used to read the file.In below some example for access the file using uigetfile dialog box.

Example code:


[filename, pathname] = uigetfile( {'*.m',  'Matlab-files (*.m)';
   '*.jpg','Jpg Image (*.jpg)'; ...
   '*.*',  'All Files (*.*)'}, ...
   'Read a file'); % mention the user read the file types
file = [pathname filename]; % file variable contain original path of user selected file

In above example out put as below


Related Search : Matlab access file from uigetfile dialog box Example , Matlab uigetfile example, Read the image from uigetfile dialog box, uigetfileexample code on Matlab,Matlab read file using uigetfile example code.

Kindly Bookmark and Share it:

No comments:

Post a Comment

Related Posts Plugin for WordPress, Blogger...