Thread Subject:
xlsread

Subject: xlsread

From: James

Date: 19 Nov, 2010 02:02:04

Message: 1 of 3

I was wondering if you can user input to xlsread.

For example:

filename = input('Enter the Excel file: ','s');
excelfile = xlsread(filename);

This doesn't work, but I'm wondering if there is actually a way to do that without assuming you already know the file to read?

Subject: xlsread

From: ImageAnalyst

Date: 19 Nov, 2010 03:20:04

Message: 2 of 3

[baseFileName, folder] = uigetfile('*.xl*', 'Specify an Excel file');
fullFileName = fullfile(folder, baseFileName);
[num txt raw] = xlsread(fullFileName );

Subject: xlsread

From: Paul Hanson

Date: 19 Nov, 2010 19:42:03

Message: 3 of 3

That is FABULOUS!

Paul
ImageAnalyst <imageanalyst@mailinator.com> wrote in message <91fe13e7-8cb1-4ebc-b6ff-4fd0dc816b3d@e26g2000vbz.googlegroups.com>...
> [baseFileName, folder] = uigetfile('*.xl*', 'Specify an Excel file');
> fullFileName = fullfile(folder, baseFileName);
> [num txt raw] = xlsread(fullFileName );

Tags for this Thread

Everyone's Tags:

Add a New Tag:

Separated by commas
Ex.: root locus, bode

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

Tag Activity for This Thread
Tag Applied By Date/Time
filename Paul Hanson 19 Nov, 2010 14:44:21
sort Paul Hanson 19 Nov, 2010 14:44:21
read Paul Hanson 19 Nov, 2010 14:44:21
excel James 18 Nov, 2010 21:04:06
xlsread James 18 Nov, 2010 21:04:06
rssFeed for this Thread

Contact us